Skip to content

faresherhar/testapi-argocd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 

Repository files navigation

README

Some yaml scripts for debugging

Curl pod

apiVersion: v1
kind: Pod
metadata:
  name: curlimages
  namespace: trbl
spec:
  containers:
  - name: curlimages
    image: curlimages/curl
    command:
      - sleep
      - "3600"
    imagePullPolicy: IfNotPresent
  restartPolicy: Always

DNS Lookup Pos

apiVersion: v1
kind: Pod
metadata:
  name: dnsutils
  namespace: trbl
spec:
  containers:
  - name: dnsutils
    image: k8s.gcr.io/e2e-test-images/jessie-dnsutils:1.3
    command:
      - sleep
      - "3600"
    imagePullPolicy: IfNotPresent
  restartPolicy: Always

Shell Aliases

alias kdns="kubectl exec -i -t dnsutils -n trbl -- nslookup"
alias kcurl="kubectl exec -i -t curlimages -n trbl -- curl"