Skip to content

Instantly share code, notes, and snippets.

@screamingworld
Created February 28, 2021 22:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save screamingworld/85bb75451c31040f0eb1edf45a6a2322 to your computer and use it in GitHub Desktop.
Save screamingworld/85bb75451c31040f0eb1edf45a6a2322 to your computer and use it in GitHub Desktop.
Notifier - k8s web api deplyoment
apiVersion: apps/v1
kind: Deployment
metadata:
name: notifier-webapi
labels:
area: Notifier
component: WebApi
spec:
replicas: 1
selector:
matchLabels:
app: notifier-webapi
template:
metadata:
labels:
app: notifier-webapi
area: Notifier
component: WebApi
spec:
containers:
- image: notifiercontainerregistry#{ENVIRONMENT}#.azurecr.io/notifiercontainerregistry/notifier-webapi:#{RELEASE_ARTIFACTS_BUILD_NOTIFIER_BUILDID}#
name: notifier-webapi
envFrom:
- configMapRef:
name: notifier-webapi-config
- secretRef:
name: notifier-webapi-secret
resources:
limits:
memory: "512Mi"
cpu: "500m"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment