Open zimkjh opened 4 years ago
kubectl run kubia --image=zimkjh/kubia --port=8080
kubectl get pods
k run redis --image=redis --port=8080
k expose po redis --type=LoadBalancer --name redis--http
k run kubia --image=luksa/kubia --port=8080 --generator=run/v1
k expose po kubia --type=LoadBalancer --name kubia-http
gcloud container clusters get-credentials k8s-study --zone us-central1-c --project galvanic-host-240605
k get pods
kubectl
kubectl run kubia --image=zimkjh/kubia --port=8080
kubectl get pods
로 확인해보면 kubia라는 이름이 떠있음k run redis --image=redis --port=8080
k expose po redis --type=LoadBalancer --name redis--http
k run kubia --image=luksa/kubia --port=8080 --generator=run/v1
k expose po kubia --type=LoadBalancer --name kubia-http