Skip to content

Instantly share code, notes, and snippets.

@danhawkins
Last active April 19, 2022 15:36
Show Gist options
  • Save danhawkins/b786541089761f017615a973e06c5b52 to your computer and use it in GitHub Desktop.
Save danhawkins/b786541089761f017615a973e06c5b52 to your computer and use it in GitHub Desktop.
K8s Deploy for test_svc
apiVersion: apps/v1
kind: Deployment
spec:
template:
spec:
containers:
- env:
- name: PHX_SERVER
value: "true"
- name: PHX_HOST
value: 0.0.0.0
- name: SECRET_KEY_BASE
value: notaverygoodsecret
# Required for distributed connect
- name: RELEASE_COOKIE
value: notaverysecretcookie
- name: NAMESPACE
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
- name: POD_IP
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: status.podIP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment