Created
June 17, 2021 13:00
-
-
Save aevitas/9994c56f32d330e3373456d9ba37acd7 to your computer and use it in GitHub Desktop.
example-deployment.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: web | |
labels: | |
name: web | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
name: web | |
template: | |
metadata: | |
labels: | |
name: web | |
spec: | |
containers: | |
- name: web | |
image: cr.blackrain.io/web:latest | |
imagePullPolicy: Always | |
env: | |
- name: ServiceDiscovery__EndPoint | |
value: "http://discovery/" | |
resources: | |
requests: | |
cpu: 50m | |
memory: 128Mi | |
ports: | |
- containerPort: 80 | |
nodeSelector: | |
beta.kubernetes.io/os: linux | |
imagePullSecrets: | |
- name: blackrain-azure |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment