apiVersion: v1 kind: Pod metadata: name: ckad-nginx spec: containers: - name: nginx image: nginx:1.17.10 ports: - containerPort: 80 env: - name: DB_URL value: postgresql://mydb:5432 - name: DB_USERNAME value: admin
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter