Skip to content

Commit

Permalink
Create affinity.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
khushimalhoz authored Jul 29, 2024
1 parent 0c7a154 commit aadab3e
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions charts/microservice/examples/affinity.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
global:
namespace: "default"
# replicacount: 5
fullnameOverride: "webapp"

deployment:
image:
name: nginx
tag: latest
pullPolicy: IfNotPresent
livenessProbe:
httpGet:
path: "/"
port: http
readinessProbe:
httpGet:
path: "/"
port: http
resources:
requests:
memory: 100Mi
cpu: 100m
limits:
memory: 500Mi
cpu: 500m
volumes:
enabled: true
configMaps:
- name: index
mountPath: /usr/share/nginx/html
data:
index.html: |
Hello! Opstree

0 comments on commit aadab3e

Please sign in to comment.