Next: Auto-save, File Lock and Backup configuration, Previous: Android shell setup hints, Up: Configuring TRAMP [Contents][Index]
With the kubernetes method, containers in Kubernetes pods can be accessed. The host name is a pod name returned by ‘kubectl get pods’, or ‘container.pod’ if an explicit container name shall be used. Otherwise, the first container in a pod is used.
Sometimes, asynchronous processes for a host without a dedicated container name show a warning like ‘Defaulted container "container1" out of: container1, container2’. This can be mitigated by setting the pod annotation ‘kubectl.kubernetes.io/default-container’ to a proper value (‘container1’ in this example).
TRAMP uses the default Kubernetes context and namespace. If
another context or namespace shall be used, configure the user options
tramp-kubernetes-context
and tramp-kubernetes-namespace
.