Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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