which runs a process that performs no function but sleeps forever and holds the network namespace for the pod. Pod should be the first process with PID 1 otherwise it throws an error. Kubernetes creates pause containers to acquire the respective pod’s IP address and set up the network namespace for all other containers to join that pod. Docker image used for pause container is http://gcr.io/google_containers/pause-amd64:3.0
using the pause container and sharing namespaces: Add nginx container to this pod to work as proxy to ghost container on port 2368: Start the pause container with Docker: // nginx.conf error_log stderr; events { worker_connections 1024; } http { access_log /dev/stdout combined; server { listen 80 default_server; server_name _; location / { proxy_pass http://127.0.0.1:2368; } } }
Protocol, • Written in Go, • Good for: ◦ Shared configuration, ◦ Service Discovery • Simple http interface (Stored Objects are requested using curl) • Watch specific keys for changes and react to changes in values, • ... Features: 3. ETCD
Kubernetes objects are exposed via simple REST API through which basic CRUD operations are performed and API Server acts as the gateway to the platform. • Internal components such as kubelet, scheduler, and controller access the API via the API Server for orchestration and coordination. • The distributed key/value database, etcd, is accessible only through the API Server