- Adds PV for local caching. This allows us to also use PV
in other clusters like AKS.
- Moves artifacts and caching files into /opt/aiap-files/artifacts
and /opt/aiap-files/caching so we only have one PV
Relates-To: #645
Change-Id: I84172778df66bee8a833b13d5b740a6cf45220c2
This adds a new script to the runner container that is run in the
entrypoint which runs the log gathering ansible playbook from
inside the runner container. The gate then extracts these logs
with a new role.
This also updates the image_build script to fix how it changes
the container imagePullPolicy
Closes: #658
Relates-To: #659
Change-Id: I24d11c66e7b71852256e164343f7bb2f331d1fef
As mentioned in https://github.com/kubernetes-sigs/kind/issues/2240 there was a change
in the linux kernel after 5.12.2 that makes nf_conntrack_max read-only in non-init network
namespaces, which prevents kind's kube-proxy container from working correctly on kind versions
older than v0.11.1. This PS updates the script to download v0.11.1 to avoid this issue.
If older versions are needed, the kind url can be set as an environment variable as shown in
airshipctl/tools/deployment.provider_common/01_install_kind.sh.
Relates-To: #583
Change-Id: Icd9e649fa112e9f6307034ec69dde5d4a7ad613d
Commit breaks iso/qcow consistency and needs to be reintroduced
together with cloud-init moved to image-builder
This reverts commit e8606af544.
Change-Id: Ib45d6a5ba960eba937c2f54fbf703b2cd85ee190
Allows to get rid of generic containers.
Change-Id: I7f4485ded4dd39ec44a0746904b626b4a07d0f80
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Relates-To: #544
Relates-To: #545
Allows to limit execution time of KRM function.
Change-Id: I7fd8d97492512c6c5033375429906a1268f3818e
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Closes: #544
Closes: #545
Closes: #597
Upgrades flux Kptfiles to be compatible with the new format
required by kpt v1.0-beta. Also updates the README file to
reflect new CLI command syntax and package update procedure.
Closes: #598
Change-Id: I6da83aa662b4039a402614135662f4ce03dbe97a
This change updates the 20_apply_aiap.sh script to utilize the
status-checker container to determine if airship-in-a-pod has
successfully completed. It also includes a check to fail when
the status-checker has detected a failure.
Relates-To: #659
Change-Id: I3673de7157f498778154c798878ab20245396c62
* added NodeName field in the remote Client interface
* added new subcommand 'list-hosts' to list hosts from
host-inventory from site manifests
Closes: #359
Signed-off-by: Shon Phand <shonphand@gmail.com>
Change-Id: I560a8117b1d55cad2a634df0d05a4aaedae2a873
This upgrades Kubernetes version in airshipctl to v1.21.2
Depends on https://review.opendev.org/c/airship/image-builder/+/812013/
https: //github.com/airshipit/airshipctl/issues/589
Change-Id: I30ef2543d91f574e73a555bf67ab7ec2764a4411
Signed-off-by: diwakar thyagaraj <dt241s@att.com>
The KRM based k8s applier solves multiple design problems
which were introduced in previous airshipctl generation,
making apply code and process more clear, reliable and
readable. In particular:
* k8s applier now is a KRM function and it allows the
end user to choose or implement desired backend for
k8s apply operations;
* the related amount of code was reduced by three times,
multiple unused and unnecessary structs/interfaces/design
patterns were removed or rewrited in more clean and efficient
way;
* removed cli-utils dependency from airshipctl;
* fixed several bugs and code issues, such as incorrect printing
of tables, duplicated unit tests, improper generation and applying
inventory config map, etc;
* cli-utils version used in KRM function was bumped to 0.26.0;
* phases with duplicated k8s resources were removed or fixed;
* unit test coverage increased to 83.1%;
* KRM function logs were integrated with klog library which allows
to observe logs directly from cli-utils and other dependent libs.
Change-Id: Ief509f1d6abefd53caf7fcffc4e36b0319815373
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
Closes: #646
If the virtual media is not explicitly ejected, the ephemeral node can
reinstall as ephemeral node after converted as a worker or controller
during reboot.
Change-Id: I9f383a1d8ead6fea6f37ace9eade64e70fcc72e4