-
Notifications
You must be signed in to change notification settings - Fork 18
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
Istio charms need to provide a way to configure images for airgapped environment #322
Labels
Comments
i-chvets
pushed a commit
that referenced
this issue
Aug 30, 2023
#322 Summary of changes: - Added unit tests. - Modified config.yaml to make it consistent. - Added get config helper to allow for better testing. This can also be expanded further.
i-chvets
pushed a commit
that referenced
this issue
Aug 30, 2023
#322 Summary of changes: - Added proxy-image config option. - Updated manifest template with placeholder for proxy image. - Modified charm code to render manifest with proxy image from configuration.
i-chvets
added
23.10
Should be fixed by 23.10
Kubeflow 1.8
This issue affects the Charmed Kubeflow 1.8 release
labels
Aug 30, 2023
This was referenced Aug 31, 2023
i-chvets
added a commit
that referenced
this issue
Aug 31, 2023
# Description More details in: #322 # Summary of changes: - Added proxy-image config option. - Updated manifest template with placeholder for proxy image. - Modified charm code to render manifest with proxy image from configuration. # Testing For complete testing refer to #322 --------- Co-authored-by: Orfeas Kourkakis <[email protected]>
i-chvets
added a commit
that referenced
this issue
Aug 31, 2023
# Description More details in: #322 The changes in this PR are based on work done in #316 Created a new PR to simplify workflow. # Summary of changes: - Modified code to use --set to alter precompile istioctl manifests to allow changes according to charm configuration. - Added `image-configuration` option to istio-pilot `config.yaml` - Added `proxy-image` option to istio-gatewat `config.yaml` - Added unit test for testing helper that retrieves configuration. # Testing For complete testing refer to #322 Related PR: #320 NOTE: Created [issue](#324) to track updates to process of updating Istio.
i-chvets
added a commit
that referenced
this issue
Sep 25, 2023
# Description More details in: #322 The changes in this PR are based on work done in #316 Created a new PR to simplify workflow. # Summary of changes: - Modified code to use --set to alter precompile istioctl manifests to allow changes according to charm configuration. - Added `image-configuration` option to istio-pilot `config.yaml` - Added `proxy-image` option to istio-gatewat `config.yaml` - Added unit test for testing helper that retrieves configuration. # Testing For complete testing refer to #322 Related PR: #320 NOTE: Created [issue](#324) to track updates to process of updating Istio.
i-chvets
added a commit
that referenced
this issue
Sep 25, 2023
More details in: #322 - Added proxy-image config option. - Updated manifest template with placeholder for proxy image. - Modified charm code to render manifest with proxy image from configuration. For complete testing refer to #322 --------- Co-authored-by: Orfeas Kourkakis <[email protected]>
i-chvets
added a commit
that referenced
this issue
Sep 25, 2023
# Description More details in: #322 The changes in this PR are based on work done in #316 Created a new PR to simplify workflow. # Summary of changes: - Modified code to use --set to alter precompile istioctl manifests to allow changes according to charm configuration. - Added `image-configuration` option to istio-pilot `config.yaml` - Added `proxy-image` option to istio-gatewat `config.yaml` - Added unit test for testing helper that retrieves configuration. # Testing For complete testing refer to #322 Related PR: #320 NOTE: Created [issue](#324) to track updates to process of updating Istio.
i-chvets
added a commit
that referenced
this issue
Sep 25, 2023
More details in: #322 - Added proxy-image config option. - Updated manifest template with placeholder for proxy image. - Modified charm code to render manifest with proxy image from configuration. For complete testing refer to #322 --------- Co-authored-by: Orfeas Kourkakis <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Description
For Istio components to run in an airgapped environment all image workloads that can end up running need to be configurable.
Design/solution
Changes required for both Istio charms:
istio-pilot
andisito-gateway
.For
istio-pilot
a configuration optionimage-configuration
is added to charm's configuration (config.yaml
). This option allows to provide charm, at deployment time, with image information that is used when handling installation of the workload. Sinceistio-pilot
usesistioctl
binary to configure the workload, a call to this binary contains all necessary image infromation to be used in deployment. This is achieved by using--set
option ofistioctl
and supplying image information found in the charm configuration.image-configuration
option is multi-line YAML or JSON that can be passed at deployment time ofistio-pilot
For
istio-gateway
a configuration optionproxy-image
is added to configuration. This option is used when rendering manifest to ensure a correct image is referenced.Implementation is done separately for each charm to allow for proper separation of changes.
PR for Istio Pilot charm: #321 (this work is largerly based on this PR #316)
PR for Istio Gateway charm: #323
Testing
Testing is done in airgapped environment that was setup using this guide (still draft PR at this point, but will be in official README).
multipass transfer <charms> <vm-name>:/home/ubuntu
)lxc file push <charms> airgapped-microk8s/root/
kubeflow
model exists.image-configuration
option set to string that contains JSON with information obtained from previous step, eg. registry (172.17.0.2:5000), image names and tag
1.16.2`, etc.:The text was updated successfully, but these errors were encountered: