Skip to content

Commit 947281b

Browse files
authored
Merge pull request #26323 from nasirhm/kompose_up_removal_line
Modify Kompose Page: remove the up command
2 parents 4353211 + 72f4f64 commit 947281b

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

content/en/docs/tasks/configure-pod-container/translate-compose-kubernetes.md

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -127,23 +127,7 @@ you need is an existing `docker-compose.yml` file.
127127
kompose.service.type: LoadBalancer
128128
```
129129
130-
2. Run the `kompose up` command to deploy to Kubernetes directly, or skip to
131-
the next step instead to generate a file to use with `kubectl`.
132-
133-
```bash
134-
$ kompose up
135-
We are going to create Kubernetes Deployments, Services and PersistentVolumeClaims for your Dockerized application.
136-
If you need different kind of resources, use the 'kompose convert' and 'kubectl apply -f' commands instead.
137-
138-
INFO Successfully created Service: redis
139-
INFO Successfully created Service: web
140-
INFO Successfully created Deployment: redis
141-
INFO Successfully created Deployment: web
142-
143-
Your application has been deployed to Kubernetes. You can run 'kubectl get deployment,svc,pods,pvc' for details.
144-
```
145-
146-
3. To convert the `docker-compose.yml` file to files that you can use with
130+
2. To convert the `docker-compose.yml` file to files that you can use with
147131
`kubectl`, run `kompose convert` and then `kubectl apply -f <output file>`.
148132

149133
```bash
@@ -168,7 +152,7 @@ you need is an existing `docker-compose.yml` file.
168152

169153
Your deployments are running in Kubernetes.
170154

171-
4. Access your application.
155+
3. Access your application.
172156

173157
If you're already using `minikube` for your development process:
174158

0 commit comments

Comments
 (0)