Skip to content

Commit

Permalink
Merge pull request #6 from imoisharma/feat/k8s-devops
Browse files Browse the repository at this point in the history
modified the pod-priority.yaml
  • Loading branch information
imoisharma authored Oct 19, 2022
2 parents a41c011 + 47830fb commit 57be80e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions pod-priority.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: scheduling.k8s.io/v1
kind: PriorityClass
metadata:
name: high-priority
value: 1000000
globalDefault: false
description: "This priority class should be used for XYZ service pods only."
2 changes: 1 addition & 1 deletion pods/sample-pod-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
volumeMounts:
- name: workdir
mountPath: /usr/share/nginx/html
# These containers are run during pod initialization
# These containers are run during pod initialization
initContainers:
- name: install
image: busybox
Expand Down

0 comments on commit 57be80e

Please sign in to comment.