Skip to content

Commit 59a0a9b

Browse files
committed
Add argocd install instructions
1 parent 756c8b5 commit 59a0a9b

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

docs/tutorials/setup_k8s.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,32 @@ kubectl config set-context t03-beamline --namespace=t03-beamline --user=default
145145
kubectl config use-context t03-beamline
146146
```
147147

148+
### Set up Argo CD
149+
150+
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. As per <https://argo-cd.readthedocs.io/en/stable/> it can be installed into the cluster as follows:
151+
152+
```
153+
kubectl create namespace argocd
154+
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
155+
```
156+
157+
To access the gui through a browser on `https://localhost:8080/`:
158+
```
159+
kubectl port-forward svc/argocd-server -n argocd 8080:443
160+
```
161+
162+
The user is `admin` and the password can be retrived using:
163+
```
164+
kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 --decode ; echo
165+
```
166+
167+
To install the `argocd` cli tool:
168+
```
169+
curl -sSL -o argocd-linux-amd64 https://github.com/argoproj/argo-cd/releases/latest/download/argocd-linux-amd64
170+
sudo install -m 555 argocd-linux-amd64 /usr/local/bin/argocd
171+
rm argocd-linux-amd64
172+
```
173+
148174
### Completed
149175

150176
That's it. You now have installed the necessary software to start experimenting with IOCs on Kubernetes.

0 commit comments

Comments
 (0)