A simple php container to demo Kubernetes POD, DEPLOY and SERVICE.
POD
POD can be created / destroyed at any time. They only have internal ip address. Your application should not rely on POD's ipaddress to integrate.
If you manually remove a POD, it's not recreated.
DEPLOYMENT
If a POD is created via deployment or replicaset, Kubernetes maintains the desired number of pods running (provided other constraints like server capacity etc are not exhausted). If you delete the POD created via a deployment, it gets recreated with a different IP address.
SERVICE
Service is used to expose the deployment / pod to other applications internally or externally.
Environment Variables
Content type
Image
Digest
Size
160.1 MB
Last updated
over 4 years ago
docker pull mycloudtutorials/poddeployservicedemo