smart48 / larak8

DigitalOcean Kubernetes Deployment of Laravel App
2 stars 3 forks source link

Pod Names #8

Closed jasperf closed 3 years ago

jasperf commented 4 years ago

When we do deployments we do get pods

kubectl get pods -n smt-local
NAME                       READY   STATUS    RESTARTS   AGE
localweb-5fcbfb587-f7tzh   2/2     Running   0          22m
localweb-5fcbfb587-lrcfw   2/2     Running   0          22m
localweb-5fcbfb587-vggk6   2/2     Running   0          22m

with containers inside, but these pods get random names based on the deployments. Perhaps we should give them specific names? Also, one pod is for multiple containers I think.. so should we put all our containers in there? Would think so as they use the same block storage and need to communicate with each other..

jasperf commented 4 years ago

Perhaps it does not matter this much. Do want auto scaling and perhaps we do not need 3 replicas locally. Also wonder about ingress access these three pods.. No setup for that I think .