Created
August 9, 2023 05:46
-
-
Save arshamalh/0115dbe226142316a2be9c0f33585489 to your computer and use it in GitHub Desktop.
Ldap client deployment file for Kubernetes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: Deployment | |
apiVersion: apps/v1 | |
metadata: | |
name: ldapclient | |
namespace: default | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: ldapclient | |
template: | |
metadata: | |
labels: | |
app: ldapclient | |
spec: | |
containers: | |
- name: app | |
command: | |
- /bin/bash | |
- '-c' | |
- '--' | |
imagePullPolicy: Always | |
image: particlekit/ldap-client | |
args: | |
- while true; do sleep 30; done; | |
restartPolicy: Always | |
strategy: | |
type: RollingUpdate | |
rollingUpdate: | |
maxUnavailable: 25% | |
maxSurge: 25% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment