Browse Source
fix offline mode (#7493 )
* fix offline mode
* add offline messages
pull/7502/head
Samuel Liu
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
10 additions and
1 deletions
docs/offline-environment.md
inventory/sample/group_vars/all/offline.yml
@ -10,7 +10,7 @@ In case your servers don't have access to internet (for example when deploying o
## Configure Inventory
## Configure Inventory
Once all artifacts are accessible from your internal network, **adjust** the following variables in [your inventory ](/inventory/sample/group_vars/k8s-cluster /offline.yml ) to match your environment:
Once all artifacts are accessible from your internal network, **adjust** the following variables in [your inventory ](/inventory/sample/group_vars/all /offline.yml ) to match your environment:
```yaml
```yaml
# Registry overrides
# Registry overrides
@ -35,6 +35,15 @@
# [Optional] Calico with kdd: If using Calico network plugin with kdd datastore
# [Optional] Calico with kdd: If using Calico network plugin with kdd datastore
# calico_crds_download_url: "{{ files_repo }}/kubernetes/calico/{{ calico_version }}.tar.gz"
# calico_crds_download_url: "{{ files_repo }}/kubernetes/calico/{{ calico_version }}.tar.gz"
# [Optional] helm: only if you set helm_enabled: true
helm_download_url : "{{ files_repo }}/helm-{{ helm_version }}-linux-{{ image_arch }}.tar.gz"
# [Optional] crun: only if you set crun_enabled: true
crun_download_url : "{{ files_repo }}/containers/crun/releases/download/{{ crun_version }}/crun-{{ crun_version }}-linux-{{ image_arch }}"
# [Optional] kata: only if you set kata_containers_enabled: true
kata_containers_download_url : "{{ files_repo }}/kata-containers/runtime/releases/download/{{ kata_containers_version }}/kata-static-{{ kata_containers_version }}-{{ ansible_architecture }}.tar.xz"
## CentOS/Redhat
## CentOS/Redhat
### For EL7, base and extras repo must be available, for EL8, baseos and appstream
### For EL7, base and extras repo must be available, for EL8, baseos and appstream
### By default we enable those repo automatically
### By default we enable those repo automatically