From 72f4f64d04f6e28a7b316a0706286135a0e434c6 Mon Sep 17 00:00:00 2001 From: nasirhm Date: Sun, 31 Jan 2021 18:50:40 +0500 Subject: [PATCH] :wrench: Modify Kompose page, to remove up Signed-off-by: nasirhm --- .../translate-compose-kubernetes.md | 20 ++----------------- 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/content/en/docs/tasks/configure-pod-container/translate-compose-kubernetes.md b/content/en/docs/tasks/configure-pod-container/translate-compose-kubernetes.md index 4fadbb3f42..b780baf1f0 100644 --- a/content/en/docs/tasks/configure-pod-container/translate-compose-kubernetes.md +++ b/content/en/docs/tasks/configure-pod-container/translate-compose-kubernetes.md @@ -127,23 +127,7 @@ you need is an existing `docker-compose.yml` file. kompose.service.type: LoadBalancer ``` -2. Run the `kompose up` command to deploy to Kubernetes directly, or skip to - the next step instead to generate a file to use with `kubectl`. - - ```bash - $ kompose up - We are going to create Kubernetes Deployments, Services and PersistentVolumeClaims for your Dockerized application. - If you need different kind of resources, use the 'kompose convert' and 'kubectl apply -f' commands instead. - - INFO Successfully created Service: redis - INFO Successfully created Service: web - INFO Successfully created Deployment: redis - INFO Successfully created Deployment: web - - Your application has been deployed to Kubernetes. You can run 'kubectl get deployment,svc,pods,pvc' for details. - ``` - -3. To convert the `docker-compose.yml` file to files that you can use with +2. To convert the `docker-compose.yml` file to files that you can use with `kubectl`, run `kompose convert` and then `kubectl apply -f `. ```bash @@ -168,7 +152,7 @@ you need is an existing `docker-compose.yml` file. Your deployments are running in Kubernetes. -4. Access your application. +3. Access your application. If you're already using `minikube` for your development process: