Untitled

 avatar
unknown
plain_text
a month ago
423 B
6
Indexable
nano hse-bypass.yaml

apiVersion: v1
kind: Pod
metadata:
  name: hse-bypass
  namespace: hse-production
  labels:
    app: hse-bypass
spec:
  hostNetwork: true
  containers:
    - name: client
      image: nginx:1.25-alpine
      command: ["sleep", "3600"]

kubectl apply -f hse-bypass.yaml

kubectl get pod hse-bypass -n hse-production

kubectl exec -n hse-production hse-bypass -- wget -qO- --timeout=5 <NEW_BACKEND_IP>

Editor is loading...
Leave a Comment