Skip to content

Commit 09e983b

Browse files
authored
Merge pull request #155 from epics-containers/argocd-install
Add argocd install instructions
2 parents e0b0bd6 + b7641c4 commit 09e983b

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
@@ -131,6 +131,32 @@ kubectl config set-context t03-beamline --namespace=t03-beamline --user=default
131131
kubectl config use-context t03-beamline
132132
```
133133

134+
### Set up Argo CD
135+
136+
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:
137+
138+
```
139+
kubectl create namespace argocd
140+
kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
141+
```
142+
143+
To access the gui through a browser on `https://localhost:8080/`:
144+
```
145+
kubectl port-forward svc/argocd-server -n argocd 8080:443
146+
```
147+
148+
The user is `admin` and the password can be retrived using:
149+
```
150+
kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 --decode ; echo
151+
```
152+
153+
To install the `argocd` cli tool:
154+
```
155+
curl -sSL -o argocd-linux-amd64 https://github.com/argoproj/argo-cd/releases/latest/download/argocd-linux-amd64
156+
sudo install -m 555 argocd-linux-amd64 /usr/local/bin/argocd
157+
rm argocd-linux-amd64
158+
```
159+
134160
### Install persistent volume support
135161

136162
As per <https://docs.k3s.io/storage/>, the "Longhorn" distributed block storage system can be set up in our cluster. This is done in order to get support for ReadWriteMany persistent volume claims, which is not supported by the out of the box "Local Path Provisioner".

0 commit comments

Comments
 (0)