@@ -27,8 +27,8 @@ sudo install minikube-linux-amd64 /usr/local/bin/minikube
2727### Rootless installation with podman
2828
2929```
30- $ minikube config set rootless true
31- $ minikube start --driver=podman --container-runtime=containerd
30+ minikube config set rootless true
31+ minikube start --driver=podman --container-runtime=containerd
3232```
3333
3434## Helm env
@@ -37,9 +37,9 @@ Install helm as described in official [docs](https://helm.sh/docs/intro/install/
3737add helm repositories:
3838
3939```
40- $ helm repo add bitnami https://charts.bitnami.com/bitnami
41- $ helm repo add dcache https://gitlab.desy.de/api/v4/projects/7648/packages/helm/test
42- $ helm repo update
40+ helm repo add bitnami https://charts.bitnami.com/bitnami
41+ helm repo add dcache https://gitlab.desy.de/api/v4/projects/7648/packages/helm/test
42+ helm repo update
4343```
4444
4545## Starting dCache
@@ -57,54 +57,54 @@ kubectl create namespace dcache-test
5757kubectl config set-context --current --namespace=dcache-test
5858```
5959
60- All following command commands assume that the namespace is set. Otherwise ` -n other-namespace `
60+ All following commands assume that the namespace is set. Otherwise ` -n other-namespace `
6161flag should be passes to all ` helm ` and ` kubeclt ` commands.
6262
6363Then start required infrastructure (zookeeper, postgresql, kafka)
6464
6565```
66- $ helm install --wait --set auth.username=dcache --set auth.password=let-me-in --set auth.database=chimera chimera bitnami/postgresql
67- $ helm install --wait cells bitnami/zookeeper
68- $ helm install --wait --set externalZookeeper.servers=cells-zookeeper --set kraft.enabled=false billing bitnami/kafka --version 23.0.7
66+ helm install --wait --set auth.username=dcache --set auth.password=let-me-in --set auth.database=chimera chimera bitnami/postgresql
67+ helm install --wait cells bitnami/zookeeper
68+ helm install --wait --set externalZookeeper.servers=cells-zookeeper --set kraft.enabled=false billing bitnami/kafka --version 23.0.7
6969```
7070
7171Then start dCache
7272
7373```
74- $ helm install --wait --set image.tag=9.2.1 store dcache/dcache
74+ helm install --wait --set image.tag=9.2.1 store dcache/dcache
7575```
7676
7777All running helm charts can be listed with:
7878
7979```
80- $ helm list
80+ helm list
8181```
8282
8383## Accessing admin interface
8484
8585```
86- $ kubectl run -ti --rm --image=kroniak/ssh-client admmin -- ssh -p 22224 admin@store-door-svc
86+ kubectl run -ti --rm --image=kroniak/ssh-client admmin -- ssh -p 22224 admin@store-door-svc
8787```
8888
8989## Accessing with client
9090
9191Starting a client host and attach to it.
9292
9393```
94- $ kubectl run --image=almalinux:9 wn -- sleep inf
95- $ kubectl -ti exec wn -- /bin/bash
96- $ kubectl -ti exec wn -- curl -v -k -X HEAD https://store-door-svc:8083/
94+ kubectl run --image=almalinux:9 wn -- sleep inf
95+ kubectl -ti exec wn -- /bin/bash
96+ kubectl -ti exec wn -- curl -v -k -X HEAD https://store-door-svc:8083/
9797```
9898
9999## Quick access to admin pages and frontend
100100
101101(For minikube users)
102102
103103```
104- $ kubectl expose pod store-dcache-door-0 --type=NodePort --port=2288 --name="web-admin"
105- $ kubectl expose pod store-dcache-door-0 --type=NodePort --port=3880 --name="frontend"
104+ kubectl expose pod store-dcache-door-0 --type=NodePort --port=2288 --name="web-admin"
105+ kubectl expose pod store-dcache-door-0 --type=NodePort --port=3880 --name="frontend"
106106```
107107
108108```
109- $ minikube service web-admin -n dcache-test
110- ```
109+ minikube service web-admin -n dcache-test
110+ ```
0 commit comments