Skip to content

Instantly share code, notes, and snippets.

@jmrodri
Created March 11, 2023 05:08
Show Gist options
  • Save jmrodri/c70b22011ef3c18be106bf617e552e2f to your computer and use it in GitHub Desktop.
Save jmrodri/c70b22011ef3c18be106bf617e552e2f to your computer and use it in GitHub Desktop.
docker-compose -> kube via kompose
```
$ k get all
NAME READY STATUS RESTARTS AGE
pod/agent-5fd69bbb89-clfzt 0/1 Error 0 68s
pod/api-86d47df589-tvj5r 0/1 ContainerCreating 0 68s
pod/elasticsearch-75d8d98855-h2gkb 0/1 ContainerCreating 0 68s
pod/kibana-77b8d6fb4d-rmbhq 1/1 Running 0 68s
pod/locust-b5446b4b9-cltk9 0/1 Error 0 68s
pod/postgres-66fd8fcc6b-9bn7p 0/1 ContainerCreating 0 68s
pod/redis-6fc4fd44fc-gkz8t 1/1 Running 0 68s
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/api ClusterIP 10.96.44.133 <none> 8080/TCP 68s
service/elasticsearch ClusterIP 10.96.46.89 <none> 9200/TCP 68s
service/kibana ClusterIP 10.96.204.70 <none> 5601/TCP 68s
service/kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 12m
service/locust ClusterIP 10.96.60.235 <none> 8089/TCP 68s
service/postgres ClusterIP 10.96.164.61 <none> 5432/TCP 68s
service/redis ClusterIP 10.96.111.106 <none> 6379/TCP 68s
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/agent 0/1 1 0 68s
deployment.apps/api 0/1 1 0 68s
deployment.apps/elasticsearch 0/1 1 0 68s
deployment.apps/kibana 1/1 1 1 68s
deployment.apps/locust 0/1 1 0 68s
deployment.apps/postgres 0/1 1 0 68s
deployment.apps/redis 1/1 1 1 68s
NAME DESIRED CURRENT READY AGE
replicaset.apps/agent-5fd69bbb89 1 1 0 68s
replicaset.apps/api-86d47df589 1 1 0 68s
replicaset.apps/elasticsearch-75d8d98855 1 1 0 68s
replicaset.apps/kibana-77b8d6fb4d 1 1 1 68s
replicaset.apps/locust-b5446b4b9 1 1 0 68s
replicaset.apps/postgres-66fd8fcc6b 1 1 0 68s
replicaset.apps/redis-6fc4fd44fc 1 1 1 68s
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment