Skip to content

Commit

Permalink
Use /var for hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
olliewalsh committed Dec 13, 2024
1 parent 2c9620f commit 4469e60
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
11 changes: 0 additions & 11 deletions ansible/ocp_cnv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,17 +110,6 @@
state: directory
mode: '0755'

- name: Create HPP directory on OCP nodes # (hacky, but fast)
shell: >
{% raw %}
for worker in $(oc get nodes -o name); do
oc debug $worker -T -- chroot /host sh -c "mkdir -p /var/hpp"
done
{% endraw %}
environment:
PATH: "{{ oc_env_path }}"
KUBECONFIG: "{{ kubeconfig }}"

- name: Create HPP CR
template:
src: ai/hpp/hpp.yml.j2
Expand Down
2 changes: 1 addition & 1 deletion ansible/templates/ai/hpp/hpp.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ spec:
imagePullPolicy: IfNotPresent
storagePools:
- name: hpp-pool
path: "/var/hpp"
path: "/var"
workload:
nodeSelector:
kubernetes.io/os: linux
Expand Down

0 comments on commit 4469e60

Please sign in to comment.