Created
May 18, 2018 12:41
-
-
Save chukaofili/77bc3d0a36c68da0f313aa1c675ebe29 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