Skip to content

Instantly share code, notes, and snippets.

@todd-dsm
Created March 25, 2024 17:57
Show Gist options
  • Save todd-dsm/fc5db0944737a23b62a474f9e1d70e08 to your computer and use it in GitHub Desktop.
Save todd-dsm/fc5db0944737a23b62a474f9e1d70e08 to your computer and use it in GitHub Desktop.
apiVersion: apps/v1beta1
kind: Deployment
metadata:
labels:
name: 12F-app
name: 12F-app
namespace: 12F-app-ns
spec:
replicas: 3
template:
metadata:
labels:
name: 12F-app
spec:
imagePullSecrets:
- name: docker-artifactory-credential-secret
containers:
- image: alpine:12F-app
name: 12F-app
ports:
- containerPort: 3000
name: http
livenessProbe:
httpGet:
path: /
port: 9292
initialDelaySeconds: 60
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 60
failureThreshold: 6
resources:
requests:
memory: "128Mi"
cpu: "25m"
limits:
memory: "512Mi"
cpu: "100m"
env:
- name: LOGLEVEL
value: info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment