Skip to content

fix: use quay for images #502

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/codeflare_sdk/templates/base-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ spec:
- name: RAY_TLS_CA_CERT
value: /home/ray/workspace/tls/ca.crt
name: ray-head
image: rayproject/ray:latest
image: quay.io/project-codeflare/ray:latest-py39-cu118
imagePullPolicy: Always
ports:
- containerPort: 6379
Expand Down Expand Up @@ -176,7 +176,7 @@ spec:
- sh
- -c
- cd /home/ray/workspace/tls && openssl req -nodes -newkey rsa:2048 -keyout server.key -out server.csr -subj '/CN=ray-head' && printf "authorityKeyIdentifier=keyid,issuer\nbasicConstraints=CA:FALSE\nsubjectAltName = @alt_names\n[alt_names]\nDNS.1 = 127.0.0.1\nDNS.2 = localhost\nDNS.3 = ${FQ_RAY_IP}\nDNS.4 = $(awk 'END{print $1}' /etc/hosts)\nDNS.5 = rayclient-deployment-name-$(cat /var/run/secrets/kubernetes.io/serviceaccount/namespace).server-name">./domain.ext && cp /home/ray/workspace/ca/* . && openssl x509 -req -CA ca.crt -CAkey ca.key -in server.csr -out server.crt -days 365 -CAcreateserial -extfile domain.ext
image: rayproject/ray:2.7.0
image: quay.io/project-codeflare/ray:latest-py39-cu118
name: create-cert
# securityContext:
# runAsUser: 1000
Expand Down Expand Up @@ -252,7 +252,7 @@ spec:
initContainers:
# the env var $RAY_IP is set by the operator if missing, with the value of the head service name
- name: create-cert
image: rayproject/ray:2.7.0
image: quay.io/project-codeflare/ray:latest-py39-cu118
command:
- sh
- -c
Expand All @@ -269,7 +269,7 @@ spec:
readOnly: false
containers:
- name: machine-learning # must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character (e.g. 'my-name', or '123-abc'
image: rayproject/ray:latest
image: quay.io/project-codeflare/ray:latest-py39-cu118
env:
- name: MY_POD_IP
valueFrom:
Expand Down