Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 709b96b

Browse files
howto: update k8s example
1 parent ab62a4f commit 709b96b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ 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
118118
it 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`
120+
1. Download the docker image: `docker pull avdteam/avd-all-in-one` (run it on all CVP nodes in case of multinode)
121121
2. Create avd group and user: `groupadd -g 1000 avd && useradd avd -u 1000 -g 1000`
122122
3. Create projects in `/home/avd`
123123
4. Deploy the k8s pod: `kubectl apply -f /cvpi/conf/kubernetes/k8s-avd-cvp.yml`

k8s-avd-cvp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
spec:
1717
hostNetwork: false
1818
securityContext:
19-
runAsUser: 10021
19+
runAsUser: 1000
2020
dnsPolicy: ClusterFirst
2121
containers:
2222
- name: avd

0 commit comments

Comments
 (0)