Created
May 18, 2018 12:41
-
-
Save chukaofili/0a67c04bfb19f50f94b5ee1b21382170 to your computer and use it in GitHub Desktop.
DigitalOcean flex-plugin provisioner
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: Deployment | |
metadata: | |
labels: | |
app: digitalocean-provisioner | |
name: digitalocean-provisioner | |
namespace: kube-system | |
spec: | |
replicas: 2 | |
selector: | |
matchLabels: | |
app: digitalocean-provisioner | |
template: | |
metadata: | |
labels: | |
app: digitalocean-provisioner | |
spec: | |
containers: | |
- env: | |
- name: DIGITALOCEAN_ACCESS_TOKEN | |
valueFrom: | |
secretKeyRef: | |
key: access-token | |
name: digitalocean | |
image: quay.io/external_storage/digitalocean-provisioner | |
imagePullPolicy: Always | |
name: digitalocean-provisioner | |
resources: | |
limits: | |
cpu: 50m | |
memory: 64Mi | |
requests: | |
cpu: 50m | |
memory: 64Mi | |
serviceAccount: digitalocean-provisioner |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for these files and the videos. I cannot get this file to register a secret:
kubectl get sa -n kube-system
NAME SECRETS AGE
admin-user 1 4d
attachdetach-controller 1 4d
bootstrap-signer 1 4d
certificate-controller 1 4d
clusterrole-aggregation-controller 1 4d
cronjob-controller 1 4d
csi-attacher 1 10h
csi-doplugin 1 10h
csi-provisioner 1 10h
daemon-set-controller 1 4d
default 1 4d
deployment-controller 1 4d
digitalocean-provisioner 0 7m
disruption-controller 1 4d
endpoint-controller 1 4d
flannel 1 4d
generic-garbage-collector 1 4d
heapster 1 4d
horizontal-pod-autoscaler 1 4d
job-controller 1 4d
kube-dns 1 4d
kube-proxy 1 4d
kubernetes-dashboard 1 4d
namespace-controller 1 4d
node-controller 1 4d
persistent-volume-binder 1 4d
pod-garbage-collector 1 4d
pv-protection-controller 1 4d
pvc-protection-controller 1 4d
replicaset-controller 1 4d
replication-controller 1 4d
resourcequota-controller 1 4d
service-account-controller 1 4d
service-controller 1 4d
statefulset-controller 1 4d
tiller 1 2d
token-cleaner 1 4d
ttl-controller 1 4d
Do you have any ideas what might be wrong. Thanks