-
Notifications
You must be signed in to change notification settings - Fork 65
Custom CA procedure for S3 and Git #1431
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
Changes from 9 commits
309126b
dac9e9f
7b12b42
044ff2b
77abe22
52bf9af
6c9ad62
71726b1
7cf7412
9428ae2
89610ca
c8b9dfc
9360ce8
265daed
a9feb8d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ In the context of Run:ai, the cluster and control-plane need to be aware of this | |
|
||
You will need to have the public key of the local certificate authority. | ||
|
||
## Control-Plane Installation | ||
## Control-Plane | ||
|
||
* Create the `runai-backend` namespace if it does not exist. | ||
* Add the public key to the `runai-backend` namespace: | ||
|
@@ -21,7 +21,7 @@ kubectl -n runai-backend create secret generic runai-ca-cert \ | |
* As part of the installation instructions, you need to create a secret for [runai-backend-tls](../runai-setup/self-hosted/k8s/preparations.md#domain-certificate). Use the local certificate authority instead. | ||
* Install the control plane, add the following flag to the helm command `--set global.customCA.enabled=true` | ||
|
||
## Cluster Installation | ||
## Cluster | ||
|
||
* Create the `runai` namespace if it does not exist. | ||
* Add the public key to the `runai` namespace: | ||
|
@@ -37,5 +37,20 @@ kubectl -n openshift-monitoring create secret generic runai-ca-cert \ | |
* Install the Run:ai operator, add the following flag to the helm command `--set global.customCA.enabled=true` | ||
|
||
|
||
### Git and S3 | ||
Run:ai enables AI practitioners to integrate with S3 or Git as data sources. | ||
When using a custom CA, sidecar containers used for S3 or Git integrations do not automatically inherit the CA configured at the cluster level. This requires manually building a custom container for each integration based on the default Run:ai image while incorporating the local CA certificates. | ||
|
||
1. [build tag and publish](https://docs.docker.com/get-started/docker-concepts/building-images/build-tag-and-publish-an-image/) the images for the S3 / Git integrations using the following Dockerfile: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Build, tag and publish There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ozRunAI This wasn't updated There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's updated the comment is labeled as "Outdated" |
||
``` | ||
#FROM gcr.io/run-ai-prod/goofys:master # S3 | ||
#FROM registry.k8s.io/git-sync/git-sync:v4.4.0 # Git | ||
USER root | ||
ADD anchors/ /usr/local/share/ca-certificates/ | ||
RUN chmod 644 -R /usr/local/share/ca-certificates/ && update-ca-certificates | ||
WORKDIR / | ||
ENTRYPOINT ["sh"] | ||
CMD ["/usr/bin/run.sh"] | ||
``` | ||
2. Edit the cluster configuration's for images used by Run:ai following the [S3 and Git sidecar images](./advanced-cluster-config.md#s3-and-git-sidecar-images) instructions. | ||
SherinDaher-Runai marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
Uh oh!
There was an error while loading. Please reload this page.