Last active
October 1, 2019 22:00
-
-
Save rlam3/ae76677ef40c9c8edfe1aa037b29ff05 to your computer and use it in GitHub Desktop.
pull_deploy_kubernetes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ kubectl get all # 1 | |
╰─ kubectl get all | |
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE | |
service/kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 4d18h | |
$ kubectl create deployment hello-minikube --image=k8s.gcr.io/echoserver:1.10 # 2 | |
╰─ kubectl create deployment hello-minikube --image=k8s.gcr.io/echoserver:1.10 | |
deployment.apps/hello-minikube created | |
$ kubectl get all # 3 | |
╰─ kubectl get all | |
NAME READY STATUS RESTARTS AGE | |
pod/hello-minikube-797f975945-mjqcc 1/1 Running 0 8s | |
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE | |
service/kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 4d18h | |
NAME READY UP-TO-DATE AVAILABLE AGE | |
deployment.apps/hello-minikube 1/1 1 1 8s | |
NAME DESIRED CURRENT READY AGE | |
replicaset.apps/hello-minikube-797f975945 1 1 1 8s # <<<<<< running pods replicas |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment