From 774594bf15084f4e082387f8a2bd49c6e49cc907 Mon Sep 17 00:00:00 2001 From: Qiming Teng Date: Thu, 22 Oct 2020 15:27:40 +0800 Subject: [PATCH] Fix links in tutorials section --- content/en/docs/tutorials/clusters/seccomp.md | 4 ++-- .../configure-java-microservice.md | 6 +++--- content/en/docs/tutorials/hello-minikube.md | 7 +------ .../en/docs/tutorials/stateful-application/cassandra.md | 2 +- 4 files changed, 7 insertions(+), 12 deletions(-) diff --git a/content/en/docs/tutorials/clusters/seccomp.md b/content/en/docs/tutorials/clusters/seccomp.md index 41c0937420..adb3d9c500 100644 --- a/content/en/docs/tutorials/clusters/seccomp.md +++ b/content/en/docs/tutorials/clusters/seccomp.md @@ -37,7 +37,7 @@ profiles that give only the necessary privileges to your container processes. In order to complete all steps in this tutorial, you must install [kind](https://kind.sigs.k8s.io/docs/user/quick-start/) and -[kubectl](/doc/tasks/tools/install-kubectl/). This tutorial will show examples +[kubectl](/docs/tasks/tools/install-kubectl/). This tutorial will show examples with both alpha (pre-v1.19) and generally available seccomp functionality, so make sure that your cluster is [configured correctly](https://kind.sigs.k8s.io/docs/user/quick-start/#setting-kubernetes-version) @@ -365,4 +365,4 @@ The default seccomp profile should provide adequate access for most workloads. Additional resources: * [A Seccomp Overview](https://lwn.net/Articles/656307/) -* [Seccomp Security Profiles for Docker](https://docs.docker.com/engine/security/seccomp/) \ No newline at end of file +* [Seccomp Security Profiles for Docker](https://docs.docker.com/engine/security/seccomp/) diff --git a/content/en/docs/tutorials/configuration/configure-java-microservice/configure-java-microservice.md b/content/en/docs/tutorials/configuration/configure-java-microservice/configure-java-microservice.md index 712bc64d55..dccf214c47 100644 --- a/content/en/docs/tutorials/configuration/configure-java-microservice/configure-java-microservice.md +++ b/content/en/docs/tutorials/configuration/configure-java-microservice/configure-java-microservice.md @@ -14,9 +14,9 @@ In this tutorial you will learn how and why to externalize your microservice’s ### Creating Kubernetes ConfigMaps & Secrets There are several ways to set environment variables for a Docker container in Kubernetes, including: Dockerfile, kubernetes.yml, Kubernetes ConfigMaps, and Kubernetes Secrets. In the tutorial, you will learn how to use the latter two for setting your environment variables whose values will be injected into your microservices. One of the benefits for using ConfigMaps and Secrets is that they can be re-used across multiple containers, including being assigned to different environment variables for the different containers. -ConfigMaps are API Objects that store non-confidential key-value pairs. In the Interactive Tutorial you will learn how to use a ConfigMap to store the application's name. For more information regarding ConfigMaps, you can find the documentation [here](https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/). +ConfigMaps are API Objects that store non-confidential key-value pairs. In the Interactive Tutorial you will learn how to use a ConfigMap to store the application's name. For more information regarding ConfigMaps, you can find the documentation [here](/docs/tasks/configure-pod-container/configure-pod-configmap/). -Although Secrets are also used to store key-value pairs, they differ from ConfigMaps in that they're intended for confidential/sensitive information and are stored using Base64 encoding. This makes secrets the appropriate choice for storing such things as credentials, keys, and tokens, the former of which you'll do in the Interactive Tutorial. For more information on Secrets, you can find the documentation [here](https://kubernetes.io/docs/concepts/configuration/secret/). +Although Secrets are also used to store key-value pairs, they differ from ConfigMaps in that they're intended for confidential/sensitive information and are stored using Base64 encoding. This makes secrets the appropriate choice for storing such things as credentials, keys, and tokens, the former of which you'll do in the Interactive Tutorial. For more information on Secrets, you can find the documentation [here](/docs/concepts/configuration/secret/). ### Externalizing Config from Code @@ -36,4 +36,4 @@ Many open source frameworks and runtimes implement and support MicroProfile Conf ## Example: Externalizing config using MicroProfile, ConfigMaps and Secrets -### [Start Interactive Tutorial](/docs/tutorials/configuration/configure-java-microservice/configure-java-microservice-interactive/) \ No newline at end of file +### [Start Interactive Tutorial](/docs/tutorials/configuration/configure-java-microservice/configure-java-microservice-interactive/) diff --git a/content/en/docs/tutorials/hello-minikube.md b/content/en/docs/tutorials/hello-minikube.md index 4ce7419100..ba115b601c 100644 --- a/content/en/docs/tutorials/hello-minikube.md +++ b/content/en/docs/tutorials/hello-minikube.md @@ -16,7 +16,7 @@ card: This tutorial shows you how to run a sample app -on Kubernetes using [minikube](/docs/setup/learning-environment/minikube) and Katacoda. +on Kubernetes using minikube and Katacoda. Katacoda provides a free, in-browser Kubernetes environment. {{< note >}} @@ -24,17 +24,12 @@ You can also follow this tutorial if you've installed minikube locally. See [minikube start](https://minikube.sigs.k8s.io/docs/start/) for installation instructions. {{< /note >}} - - ## {{% heading "objectives" %}} - * Deploy a sample application to minikube. * Run the app. * View application logs. - - ## {{% heading "prerequisites" %}} diff --git a/content/en/docs/tutorials/stateful-application/cassandra.md b/content/en/docs/tutorials/stateful-application/cassandra.md index 6eb5e15dae..5b453f6594 100644 --- a/content/en/docs/tutorials/stateful-application/cassandra.md +++ b/content/en/docs/tutorials/stateful-application/cassandra.md @@ -50,7 +50,7 @@ To complete this tutorial, you should already have a basic familiarity with ### Additional Minikube setup instructions {{< caution >}} -[Minikube](/docs/setup/learning-environment/minikube/) defaults to 1024MiB of memory and 1 CPU. +[Minikube](https://minikube.sigs.k8s.io/docs/) defaults to 1024MiB of memory and 1 CPU. Running Minikube with the default resource configuration results in insufficient resource errors during this tutorial. To avoid these errors, start Minikube with the following settings: