Skip to content

Commit

Permalink
etcd
Browse files Browse the repository at this point in the history
  • Loading branch information
wardviaene committed Nov 27, 2019
1 parent 91237b7 commit c72b2e7
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions etcd/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# etcd

## HA Cluster
```
kops create cluster --name=kubernetes.newtech.academy --state=s3://kops-state-b429b --zones eu-west-1a,eu-west-1b,eu-west-1c --master-zones eu-west-1a,eu-west-1b,eu-west-1c --node-count=3 --node-size=t2.micro --master-size=t2.micro --dns-zone=kubernetes.newtech.academy
```

## Test backup
Create an object (wait 15 min after creating the object to make sure it the backup ran)
```
kubectl create configmap readme --from-file=README.md
```

## List backups
```
kubectl exec -it etcd-main -n kube-system -- bash
./etcd-manager-ctl -backup-store=s3://kops-state-b429b/kubernetes.newtech.academy/backups/etcd/main/ list-backups
```

0 comments on commit c72b2e7

Please sign in to comment.