This repository was archived by the owner on Apr 26, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -117,10 +117,15 @@ The easiest way to use avd-all-in-one container with remote SSH is creating a si
117117[ k8s-avd-cvp.yml] ( k8s-avd-cvp.yml ) is an example pod definition for running avd-all-in-one on CloudVision (CentOS), however
118118it should work on other linux distributions (the CVP env vars won't be needed in that case).
119119
120- 1 . Download the docker image: ` docker pull avdteam/avd-all-in-one ` (run it on all CVP nodes in case of multinode)
120+ The below example is for running the pod on one specific node (set by the ` nodeName: $PRIMARY_HOSTNAME ` node selection in the spec)
121+
122+ 1 . Download the docker image: ` docker pull avdteam/avd-all-in-one `
1211232 . Create avd group and user: ` groupadd -g 1000 avd && useradd avd -u 1000 -g 1000 `
1221243 . Create projects in ` /home/avd `
123- 4 . Deploy the k8s pod: ` kubectl apply -f /cvpi/conf/kubernetes/k8s-avd-cvp.yml `
125+ 4 . Deploy the k8s pod: ` envsubst < /cvpi/conf/kubernetes/avd.yml | kubectl apply -f - `
126+
127+ > Note that the pod can be also deployed on any node by removing the ` nodeName ` field from the spec, however that would also require
128+ > pulling the image onto all nodes and synchronozing the project files between all nodes.
124129
125130## Known Caveats
126131
Original file line number Diff line number Diff line change 1414 labels :
1515 app : avd
1616 spec :
17+ node : $PRIMARY_HOSTNAME
1718 hostNetwork : false
1819 securityContext :
1920 runAsUser : 1000
You can’t perform that action at this time.
0 commit comments