-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Kirill Ilin <[email protected]>
- Loading branch information
1 parent
755f630
commit e893b93
Showing
5 changed files
with
39 additions
and
8 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
title: Quickstart | ||
weight: 0 | ||
description: Get etcd with etcd-operator up and running in less than 5 minutes! | ||
--- | ||
|
||
Follow these instructions to install, run, and test etcd with etcd-operator in a Kubernetes cluster. | ||
|
||
Pre-requisites: | ||
- [kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl/) | ||
- [kustomize](https://github.com/kubernetes-sigs/kustomize) | ||
- Kubernetes cluster and `kubectl` configured to use it | ||
- If you don't have a Kubernetes cluster, you can use [kind](https://kind.sigs.k8s.io/docs/user/quick-start/) to create a local one | ||
- [cert-manager](https://cert-manager.io/docs/installation/) installed in the cluster | ||
|
||
1. Install etcd-operator: | ||
```bash | ||
kustomize build 'https://github.com/aenix-io/etcd-operator//config/default?ref=main' | kubectl apply -f - | ||
``` | ||
2. Check the operator is running: | ||
```bash | ||
kubectl get pods -n etcd-operator-system -l control-plane=controller-manager | ||
``` | ||
3. Create an etcd cluster: | ||
```bash | ||
kubectl apply -f https://github.com/aenix-io/etcd-operator/raw/main/config/samples/etcd.aenix.io_v1alpha1_etcdcluster.yaml | ||
``` | ||
**Caution**: by default emptyDir storage is used. It means such cluster configuration is not intended for long-term storage. | ||
|
||
4. Check the etcd cluster is running: | ||
```bash | ||
kubectl get pods -l app.kubernetes.io/managed-by=etcd-operator | ||
``` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ services: | |
|
||
site: | ||
image: docsy/docsy-example | ||
platform: linux/amd64 | ||
build: | ||
context: . | ||
command: server | ||
|