Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 980 Bytes

k8s-best-practices-pod-interaction-configuration.adoc

File metadata and controls

15 lines (10 loc) · 980 Bytes

Pod interaction and configuration

Pod configurations should be created in a kubernetes native manner, the most basic example of a kubernetes native manner of configuration deployment is the use of a ConfigMap CR. ConfigMap CRs can be loaded into Kubernetes and pods can consume the data in a configmap by using the data in the ConfigMap to populate container environment variables or can be consumed as volumes in a container and read by an application.

Interaction with a running pod should be done via oc exec or oc rsh commands. This allows API role-based access control (RBAC) to the pods and command line interaction for debugging.

Important
Workload requirement

SSH daemons must NOT be used in Openshift for pod interaction.