mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 16:09:08 +00:00
7 lines
614 B
Plaintext
7 lines
614 B
Plaintext
You can connect to the container running digitalocean-dyndns. To open a shell session in the pod run the following:
|
|
|
|
- kubectl exec -i -t --namespace {{ .Release.Namespace }} $(kubectl get pods --namespace {{ .Release.Namespace }} -l app={{ template "digitalocean-dyndns.fullname" . }} -o jsonpath='{.items[0].metadata.name}') /bin/sh
|
|
|
|
To trail the logs for the digitalocean-dyndns pod run the following:
|
|
|
|
- kubectl logs -f --namespace {{ .Release.Namespace }} $(kubectl get pods --namespace {{ .Release.Namespace }} -l app={{ template "digitalocean-dyndns.fullname" . }} -o jsonpath='{ .items[0].metadata.name }') |