Refer to Exhibit.

Set Configuration Context:
[student@node-1] $ | kubectl
Config use-context k8s
Context
A container within the poller pod is hard-coded to connect the nginxsvc service on port 90 . As this port changes to 5050 an additional container needs to be added to the poller pod which adapts the container to connect to this new port. This should be realized as an ambassador container within the pod.
Task
* Update the nginxsvc service to serve on port 5050.
* Add an HAproxy container named haproxy bound to port 90 to the poller pod and deploy the enhanced pod. Use the image haproxy and inject the configuration located at /opt/KDMC00101/haproxy.cfg, with a ConfigMap named haproxy-config, mounted into the container so that haproxy.cfg is available at /usr/local/etc/haproxy/haproxy.cfg. Ensure that you update the args of the poller container to connect to localhost instead of nginxsvc so that the connection is correctly proxied to the new service endpoint. You must not modify the port of the endpoint in poller's args . The spec file used to create the initial poller pod is available in /opt/KDMC00101/poller.yaml
Alishia
4 months agoGabriele
4 months agoMan
4 months agoTayna
4 months agoElmer
5 months agoGussie
5 months agoAmber
5 months agoPaulene
5 months agoWeldon
5 months agoTracie
5 months agoNu
5 months agoHoward
5 months agoRolland
6 months agoLoren
6 months agoAshlee
6 months agoArminda
6 months agoSheridan
6 months agoLeanora
11 months agoAlberta
10 months agoTran
10 months agoArlene
10 months agoEarleen
11 months agoCelestina
10 months agoRosendo
10 months agoKeva
10 months agoOzell
11 months agoBreana
10 months agoMarjory
10 months agoJustine
10 months agoSherell
10 months agoElroy
11 months agoCatalina
11 months agoKyoko
11 months agoElroy
11 months agoJoanna
11 months agoSylvie
10 months agoEladia
11 months agoSage
11 months agoJeff
11 months agoSage
11 months agoSage
11 months agoSage
12 months ago