Sign inSign up

mycloudtutorials/poddeployservicedemo

By mycloudtutorials

Updated over 4 years ago

Image
0

1.3K

mycloudtutorials/poddeployservicedemo repository overview

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

  1. POD_NAME (required)
  2. NODE_NAME (required)
  3. POD_IP (required)
  4. BGCOLOR (optional, may get a warning)

Tag summary

Content type

Image

Digest

Size

160.1 MB

Last updated

over 4 years ago

docker pull mycloudtutorials/poddeployservicedemo