Skip to content

Instantly share code, notes, and snippets.

@arshamalh
Created August 9, 2023 05:46
Show Gist options
  • Save arshamalh/0115dbe226142316a2be9c0f33585489 to your computer and use it in GitHub Desktop.
Save arshamalh/0115dbe226142316a2be9c0f33585489 to your computer and use it in GitHub Desktop.
Ldap client deployment file for Kubernetes
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