Forked from chukaofili/digitalocean-flexplugin-deploy.yml
Created
June 30, 2018 15:11
-
-
Save JonathanBowker/b5e0370a16b137276cbafe409b51ac58 to your computer and use it in GitHub Desktop.
DigitalOcean flexplugin deploy
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
apiVersion: apps/v1beta2 | |
kind: DaemonSet | |
metadata: | |
labels: | |
app: digitalocean-flexplugin-deploy | |
name: digitalocean-flexplugin-deploy | |
namespace: kube-system | |
spec: | |
selector: | |
matchLabels: | |
app: digitalocean-flexplugin-deploy | |
template: | |
metadata: | |
labels: | |
app: digitalocean-flexplugin-deploy | |
name: digitalocean-flexplugin-deploy | |
spec: | |
containers: | |
- env: | |
- name: DIGITALOCEAN_ACCESS_TOKEN | |
valueFrom: | |
secretKeyRef: | |
key: access-token | |
name: digitalocean | |
image: quay.io/external_storage/digitalocean-flexplugin | |
imagePullPolicy: Always | |
name: flex-deploy | |
resources: | |
limits: | |
cpu: 25m | |
memory: 32Mi | |
requests: | |
cpu: 25m | |
memory: 32Mi | |
volumeMounts: | |
- mountPath: /flexmnt | |
name: flexvolume-mount | |
tolerations: | |
- operator: Exists | |
volumes: | |
- hostPath: | |
path: /etc/kubernetes/kubelet-plugins/volume | |
name: flexvolume-mount |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment