Skip to content
This repository has been archived by the owner on Jan 16, 2021. It is now read-only.

Backport PVC support to v0.5.2 #17

Merged
merged 5 commits into from
Feb 8, 2018
Merged

Backport PVC support to v0.5.2 #17

merged 5 commits into from
Feb 8, 2018

Conversation

shrutir25
Copy link

@rjtsdl
Copy link

rjtsdl commented Feb 7, 2018

Overall LGTM, as long as you can get one successful run

  1. you can just provision acs-engine k8s
  2. when you create etcdcluster, add this into the pod definition.
  pod:
    persistentVolumeClaimSpec:
      accessModes: ["ReadWriteOnce"]
      resources:
        requests:
          storage: 512Mi
      storageClassName: default

@rjtsdl
Copy link

rjtsdl commented Feb 8, 2018

I did some test, looks pv is working now.

NAME                             READY     STATUS    RESTARTS   AGE       IP             NODE
etcd-operator-668bbdc7bf-f4xq5   1/1       Running   0          7m        10.240.0.109   k8s-agent-40679128-1
example-etcd-cluster-0000        1/1       Running   0          7m        10.240.0.11    k8s-agent-40679128-2
example-etcd-cluster-0001        1/1       Running   0          4m        10.240.0.87    k8s-agent-40679128-0
example-etcd-cluster-0002        1/1       Running   0          2m        10.240.0.105   k8s-agent-40679128-1
NAME                    STATUS    ROLES     AGE       VERSION   EXTERNAL-IP   OS-IMAGE                      KERNEL-VERSION      CONTAINER-RUNTIME
k8s-agent-40679128-0    Ready     agent     17d       v1.8.7    <none>        Debian GNU/Linux 8 (jessie)   4.13.0-1005-azure   docker://1.12.6
k8s-agent-40679128-1    Ready     agent     17d       v1.8.7    <none>        Debian GNU/Linux 8 (jessie)   4.13.0-1005-azure   docker://1.12.6
k8s-agent-40679128-2    Ready     agent     17d       v1.8.7    <none>        Debian GNU/Linux 8 (jessie)   4.13.0-1005-azure   docker://1.12.6
k8s-master-40679128-0   Ready     master    17d       v1.8.7    <none>        Debian GNU/Linux 8 (jessie)   4.13.0-1005-azure   docker://1.12.6
show storageclass
NAME                 PROVISIONER
azurefile            kubernetes.io/azure-file
default (default)    kubernetes.io/azure-disk
etcd-backup-gce-pd   kubernetes.io/gce-pd
managed-premium      kubernetes.io/azure-disk
managed-standard     kubernetes.io/azure-disk
show pv
NAME                                       CAPACITY   ACCESS MODES   RECLAIM POLICY   STATUS    CLAIM                              STORAGECLASS   REASON    AGE
pvc-15d7068d-0d20-11e8-8ece-000d3af7b998   1Gi        RWO            Delete           Bound     v52apv/example-etcd-cluster-0001   default                  3m 
pvc-6ebff606-0d20-11e8-8ece-000d3af7b998   1Gi        RWO            Delete           Bound     v52apv/example-etcd-cluster-0002   default                  1m 
pvc-bf694680-0d1f-11e8-8ece-000d3af7b998   1Gi        RWO            Delete           Bound     v52apv/example-etcd-cluster-0000   default                  6m 

@shrutir25
Copy link
Author

great ! lgtm

@rjtsdl rjtsdl merged commit e25cc2b into v0.5.2-azure Feb 8, 2018
@rjtsdl
Copy link

rjtsdl commented Feb 8, 2018

rjtsdl/etcd-operator:v0.5.2-azure-pv1 is the image

@rjtsdl rjtsdl deleted the pvc branch February 8, 2018 23:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants