Deprecating the Ingress Class Annotation
Upgrading htk to version 0.2.55, which deprecates the ingress class annotation (kubernetes.io/ingress.class) with .spec.ingressClassName https://review.opendev.org/c/openstack/openstack-helm-infra/+/891720 https://review.opendev.org/c/openstack/openstack-helm-infra/+/896731 https://review.opendev.org/c/openstack/openstack-helm-infra/+/896955 Change-Id: Ib03d856d13ccac719c3c24399714e6ab21d26916 Signed-off-by: Sergiy Markin <smarkin@mirantis.com>
This commit is contained in:
parent
b4e463ae4e
commit
897946df46
@ -170,6 +170,7 @@
|
|||||||
nodeset: treasuremap-single-node-ubuntu-focal
|
nodeset: treasuremap-single-node-ubuntu-focal
|
||||||
description: |
|
description: |
|
||||||
Deploy Memcached using Airskiff and latest Treasuremap changes.
|
Deploy Memcached using Airskiff and latest Treasuremap changes.
|
||||||
|
Airskiff is using latest Airship v1.x based on Airflow-2.6.2
|
||||||
voting: true
|
voting: true
|
||||||
timeout: 9600
|
timeout: 9600
|
||||||
pre-run:
|
pre-run:
|
||||||
@ -180,6 +181,10 @@
|
|||||||
post-run: tools/gate/playbooks/debug-report.yaml
|
post-run: tools/gate/playbooks/debug-report.yaml
|
||||||
vars:
|
vars:
|
||||||
site: airskiff
|
site: airskiff
|
||||||
|
HELM_ARTIFACT_URL: https://get.helm.sh/helm-v3.12.2-linux-amd64.tar.gz
|
||||||
|
HTK_COMMIT: ae91cf3fc3f288b6d92ace4a3a405606a653638f
|
||||||
|
OSH_INFRA_COMMIT: db3537e56b182a54e7f6931ce57e2a190714019b
|
||||||
|
OSH_COMMIT: 75c30f43db44218e7842611e880fd8d7a30fa79c
|
||||||
irrelevant-files:
|
irrelevant-files:
|
||||||
- ^.*\.rst$
|
- ^.*\.rst$
|
||||||
- ^doc/.*$
|
- ^doc/.*$
|
||||||
|
@ -53,11 +53,23 @@ data:
|
|||||||
deployment:
|
deployment:
|
||||||
mode: cluster
|
mode: cluster
|
||||||
type: Deployment
|
type: Deployment
|
||||||
|
cluster:
|
||||||
|
class: kube-ingress
|
||||||
|
controllerClass: k8s.io/kube-ingress
|
||||||
|
conf:
|
||||||
|
ingress:
|
||||||
|
proxy-body-size: 20m
|
||||||
network:
|
network:
|
||||||
host_namespace: true
|
host_namespace: true
|
||||||
ingress:
|
ingress:
|
||||||
annotations:
|
annotations:
|
||||||
nginx.ingress.kubernetes.io/proxy-read-timeout: "603"
|
nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
|
||||||
|
ingressClass:
|
||||||
|
spec:
|
||||||
|
controller: k8s.io/kube-ingress
|
||||||
|
ingress:
|
||||||
|
spec:
|
||||||
|
ingressClassName: kube-ingress
|
||||||
pod:
|
pod:
|
||||||
replicas:
|
replicas:
|
||||||
ingress: 1
|
ingress: 1
|
||||||
|
@ -41,7 +41,15 @@ data:
|
|||||||
- type: job
|
- type: job
|
||||||
labels:
|
labels:
|
||||||
release_group: airship-osh-infra-ingress-controller
|
release_group: airship-osh-infra-ingress-controller
|
||||||
|
|
||||||
values:
|
values:
|
||||||
|
deployment:
|
||||||
|
cluster:
|
||||||
|
class: osh-infra-ingress
|
||||||
|
controllerClass: k8s.io/osh-infra-ingress
|
||||||
|
conf:
|
||||||
|
ingress:
|
||||||
|
proxy-body-size: 20m
|
||||||
labels:
|
labels:
|
||||||
server:
|
server:
|
||||||
node_selector_key: openstack-control-plane
|
node_selector_key: openstack-control-plane
|
||||||
@ -53,5 +61,16 @@ data:
|
|||||||
replicas:
|
replicas:
|
||||||
ingress: 2
|
ingress: 2
|
||||||
error_page: 2
|
error_page: 2
|
||||||
|
network:
|
||||||
|
ingress:
|
||||||
|
annotations:
|
||||||
|
nginx.ingress.kubernetes.io/proxy-body-size: 20m
|
||||||
|
nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
|
||||||
|
ingressClass:
|
||||||
|
spec:
|
||||||
|
controller: k8s.io/osh-infra-ingress
|
||||||
|
ingress:
|
||||||
|
spec:
|
||||||
|
ingressClassName: osh-infra-ingress
|
||||||
dependencies:
|
dependencies:
|
||||||
- osh-helm-toolkit
|
- osh-helm-toolkit
|
||||||
|
@ -43,6 +43,13 @@ data:
|
|||||||
labels:
|
labels:
|
||||||
release_group: airship-openstack-ingress-controller
|
release_group: airship-openstack-ingress-controller
|
||||||
values:
|
values:
|
||||||
|
deployment:
|
||||||
|
cluster:
|
||||||
|
class: openstack-ingress
|
||||||
|
controllerClass: k8s.io/openstack-ingress
|
||||||
|
conf:
|
||||||
|
ingress:
|
||||||
|
proxy-body-size: 20m
|
||||||
labels:
|
labels:
|
||||||
server:
|
server:
|
||||||
node_selector_key: openstack-control-plane
|
node_selector_key: openstack-control-plane
|
||||||
@ -54,5 +61,16 @@ data:
|
|||||||
replicas:
|
replicas:
|
||||||
ingress: 2
|
ingress: 2
|
||||||
error_page: 2
|
error_page: 2
|
||||||
|
network:
|
||||||
|
ingress:
|
||||||
|
annotations:
|
||||||
|
nginx.ingress.kubernetes.io/proxy-body-size: 20m
|
||||||
|
nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
|
||||||
|
ingressClass:
|
||||||
|
spec:
|
||||||
|
controller: k8s.io/openstack-ingress
|
||||||
|
ingress:
|
||||||
|
spec:
|
||||||
|
ingressClassName: openstack-ingress
|
||||||
...
|
...
|
||||||
|
|
||||||
|
@ -42,6 +42,10 @@ data:
|
|||||||
labels:
|
labels:
|
||||||
release_group: airship-tenant-ceph-ingress
|
release_group: airship-tenant-ceph-ingress
|
||||||
values:
|
values:
|
||||||
|
deployment:
|
||||||
|
cluster:
|
||||||
|
class: tenant-ceph-ingress
|
||||||
|
controllerClass: k8s.io/tenant-ceph-ingress
|
||||||
conf:
|
conf:
|
||||||
ingress:
|
ingress:
|
||||||
proxy-body-size: 20m
|
proxy-body-size: 20m
|
||||||
@ -61,4 +65,10 @@ data:
|
|||||||
annotations:
|
annotations:
|
||||||
nginx.ingress.kubernetes.io/proxy-body-size: 20m
|
nginx.ingress.kubernetes.io/proxy-body-size: 20m
|
||||||
nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
|
nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
|
||||||
|
ingressClass:
|
||||||
|
spec:
|
||||||
|
controller: k8s.io/tenant-ceph-ingress
|
||||||
|
ingress:
|
||||||
|
spec:
|
||||||
|
ingressClassName: tenant-ceph-ingress
|
||||||
...
|
...
|
||||||
|
@ -100,4 +100,10 @@ data:
|
|||||||
manifests:
|
manifests:
|
||||||
deployment_tiller: false
|
deployment_tiller: false
|
||||||
service_tiller_deploy: false
|
service_tiller_deploy: false
|
||||||
|
network:
|
||||||
|
api:
|
||||||
|
ingress:
|
||||||
|
classes:
|
||||||
|
namespace: "ucp-ingress"
|
||||||
|
cluster: "ucp-ingress"
|
||||||
...
|
...
|
||||||
|
@ -45,6 +45,13 @@ data:
|
|||||||
conf:
|
conf:
|
||||||
ingress:
|
ingress:
|
||||||
proxy-body-size: 20m
|
proxy-body-size: 20m
|
||||||
|
controller:
|
||||||
|
ingressClass: ceph-ingress
|
||||||
|
ingressClassByName: true
|
||||||
|
ingressClassResource:
|
||||||
|
controllerValue: k8s.io/ceph-ingress
|
||||||
|
enabled: false
|
||||||
|
name: ceph-ingress
|
||||||
labels:
|
labels:
|
||||||
server:
|
server:
|
||||||
node_selector_key: ucp-control-plane
|
node_selector_key: ucp-control-plane
|
||||||
|
@ -42,6 +42,10 @@ data:
|
|||||||
labels:
|
labels:
|
||||||
release_group: airship-ingress
|
release_group: airship-ingress
|
||||||
values:
|
values:
|
||||||
|
deployment:
|
||||||
|
cluster:
|
||||||
|
class: ucp-ingress
|
||||||
|
controllerClass: k8s.io/ucp-ingress
|
||||||
conf:
|
conf:
|
||||||
ingress:
|
ingress:
|
||||||
proxy-body-size: 20m
|
proxy-body-size: 20m
|
||||||
@ -61,4 +65,10 @@ data:
|
|||||||
annotations:
|
annotations:
|
||||||
nginx.ingress.kubernetes.io/proxy-body-size: 20m
|
nginx.ingress.kubernetes.io/proxy-body-size: 20m
|
||||||
nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
|
nginx.ingress.kubernetes.io/proxy-read-timeout: "600"
|
||||||
|
ingressClass:
|
||||||
|
spec:
|
||||||
|
controller: k8s.io/ucp-ingress
|
||||||
|
ingress:
|
||||||
|
spec:
|
||||||
|
ingressClassName: ucp-ingress
|
||||||
...
|
...
|
||||||
|
@ -234,4 +234,10 @@ data:
|
|||||||
pod:
|
pod:
|
||||||
replicas:
|
replicas:
|
||||||
api: 2
|
api: 2
|
||||||
|
network:
|
||||||
|
api:
|
||||||
|
ingress:
|
||||||
|
classes:
|
||||||
|
namespace: "ucp-ingress"
|
||||||
|
cluster: "ucp-ingress"
|
||||||
...
|
...
|
||||||
|
@ -147,4 +147,10 @@ data:
|
|||||||
use_syslog: true
|
use_syslog: true
|
||||||
keystone_authtoken:
|
keystone_authtoken:
|
||||||
memcache_security_strategy: None
|
memcache_security_strategy: None
|
||||||
|
network:
|
||||||
|
api:
|
||||||
|
ingress:
|
||||||
|
classes:
|
||||||
|
namespace: "ucp-ingress"
|
||||||
|
cluster: "ucp-ingress"
|
||||||
...
|
...
|
||||||
|
@ -215,6 +215,11 @@ data:
|
|||||||
job:
|
job:
|
||||||
node_selector_key: ucp-control-plane
|
node_selector_key: ucp-control-plane
|
||||||
node_selector_value: enabled
|
node_selector_value: enabled
|
||||||
|
network:
|
||||||
|
api:
|
||||||
|
ingress:
|
||||||
|
classes:
|
||||||
|
namespace: "ucp-ingress"
|
||||||
|
cluster: "ucp-ingress"
|
||||||
|
|
||||||
...
|
...
|
||||||
|
@ -278,4 +278,15 @@ data:
|
|||||||
memcache_security_strategy: None
|
memcache_security_strategy: None
|
||||||
logrotate:
|
logrotate:
|
||||||
percent_max_log_fs_usage: 90
|
percent_max_log_fs_usage: 90
|
||||||
|
network:
|
||||||
|
airflow_webserver_ui:
|
||||||
|
ingress:
|
||||||
|
classes:
|
||||||
|
namespace: "ucp-ingress"
|
||||||
|
cluster: "ucp-ingress"
|
||||||
|
shipyard:
|
||||||
|
ingress:
|
||||||
|
classes:
|
||||||
|
namespace: "ucp-ingress"
|
||||||
|
cluster: "ucp-ingress"
|
||||||
...
|
...
|
||||||
|
@ -522,7 +522,7 @@ data:
|
|||||||
dep_check: quay.io/airshipit/kubernetes-entrypoint:v1.0.0
|
dep_check: quay.io/airshipit/kubernetes-entrypoint:v1.0.0
|
||||||
entrypoint: quay.io/airshipit/kubernetes-entrypoint:v1.0.0
|
entrypoint: quay.io/airshipit/kubernetes-entrypoint:v1.0.0
|
||||||
error_pages: gcr.io/google_containers/defaultbackend:1.0
|
error_pages: gcr.io/google_containers/defaultbackend:1.0
|
||||||
ingress: registry.k8s.io/ingress-nginx/controller:v1.5.1
|
ingress: registry.k8s.io/ingress-nginx/controller:v1.8.2
|
||||||
ingress_module_init: docker.io/openstackhelm/neutron:xena-ubuntu_focal
|
ingress_module_init: docker.io/openstackhelm/neutron:xena-ubuntu_focal
|
||||||
ingress_routed_vip: docker.io/openstackhelm/neutron:xena-ubuntu_focal
|
ingress_routed_vip: docker.io/openstackhelm/neutron:xena-ubuntu_focal
|
||||||
keepalived: docker.io/osixia/keepalived:1.4.5
|
keepalived: docker.io/osixia/keepalived:1.4.5
|
||||||
@ -609,7 +609,7 @@ data:
|
|||||||
test: docker.io/openstackhelm/osh-selenium:latest-ubuntu_bionic
|
test: docker.io/openstackhelm/osh-selenium:latest-ubuntu_bionic
|
||||||
ingress:
|
ingress:
|
||||||
entrypoint: quay.io/airshipit/kubernetes-entrypoint:v1.0.0
|
entrypoint: quay.io/airshipit/kubernetes-entrypoint:v1.0.0
|
||||||
ingress: registry.k8s.io/ingress-nginx/controller:v1.5.1
|
ingress: registry.k8s.io/ingress-nginx/controller:v1.8.2
|
||||||
ingress_module_init: docker.io/openstackhelm/neutron:xena-ubuntu_focal
|
ingress_module_init: docker.io/openstackhelm/neutron:xena-ubuntu_focal
|
||||||
ingress_routed_vip: docker.io/openstackhelm/neutron:xena-ubuntu_focal
|
ingress_routed_vip: docker.io/openstackhelm/neutron:xena-ubuntu_focal
|
||||||
error_pages: registry.k8s.io/defaultbackend:1.4
|
error_pages: registry.k8s.io/defaultbackend:1.4
|
||||||
@ -839,7 +839,7 @@ data:
|
|||||||
drydock_db_sync: quay.io/airshipit/drydock:master
|
drydock_db_sync: quay.io/airshipit/drydock:master
|
||||||
ingress:
|
ingress:
|
||||||
entrypoint: quay.io/airshipit/kubernetes-entrypoint:v1.0.0
|
entrypoint: quay.io/airshipit/kubernetes-entrypoint:v1.0.0
|
||||||
ingress: registry.k8s.io/ingress-nginx/controller:v1.5.1
|
ingress: registry.k8s.io/ingress-nginx/controller:v1.8.2
|
||||||
ingress_module_init: docker.io/openstackhelm/neutron:xena-ubuntu_focal
|
ingress_module_init: docker.io/openstackhelm/neutron:xena-ubuntu_focal
|
||||||
ingress_routed_vip: docker.io/openstackhelm/neutron:xena-ubuntu_focal
|
ingress_routed_vip: docker.io/openstackhelm/neutron:xena-ubuntu_focal
|
||||||
error_pages: registry.k8s.io/defaultbackend:1.4
|
error_pages: registry.k8s.io/defaultbackend:1.4
|
||||||
|
@ -25,7 +25,7 @@ if [ -n "${PROXY}" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Deploy K8s with Minikube
|
# Deploy K8s with Minikube
|
||||||
: "${HELM_VERSION:="v3.11.1"}"
|
: "${HELM_VERSION:="v3.12.2"}"
|
||||||
: "${KUBE_VERSION:="v1.27.3"}"
|
: "${KUBE_VERSION:="v1.27.3"}"
|
||||||
: "${MINIKUBE_VERSION:="v1.30.1"}"
|
: "${MINIKUBE_VERSION:="v1.30.1"}"
|
||||||
: "${CRICTL_VERSION:="v1.27.0"}"
|
: "${CRICTL_VERSION:="v1.27.0"}"
|
||||||
@ -267,7 +267,7 @@ git clone https://github.com/containernetworking/plugins.git
|
|||||||
pushd plugins
|
pushd plugins
|
||||||
git checkout v0.8.5
|
git checkout v0.8.5
|
||||||
popd
|
popd
|
||||||
for t in 1 2 3 4
|
for t in 10 20 30 40
|
||||||
do
|
do
|
||||||
sleep $t
|
sleep $t
|
||||||
if docker pull golang:1.13.8
|
if docker pull golang:1.13.8
|
||||||
|
@ -18,6 +18,9 @@
|
|||||||
- name: Clone dependencies
|
- name: Clone dependencies
|
||||||
shell: |
|
shell: |
|
||||||
set -ex
|
set -ex
|
||||||
|
export OSH_INFRA_COMMIT={{ OSH_INFRA_COMMIT }}
|
||||||
|
export OSH_COMMIT={{ OSH_COMMIT }}
|
||||||
|
|
||||||
./tools/deployment/airskiff/developer/000-clone-dependencies.sh
|
./tools/deployment/airskiff/developer/000-clone-dependencies.sh
|
||||||
args:
|
args:
|
||||||
chdir: "{{ zuul.project.src_dir }}"
|
chdir: "{{ zuul.project.src_dir }}"
|
||||||
@ -57,6 +60,10 @@
|
|||||||
- name: Build all charts locally
|
- name: Build all charts locally
|
||||||
shell: |
|
shell: |
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
|
export HELM_ARTIFACT_URL={{ HELM_ARTIFACT_URL }}
|
||||||
|
export HTK_COMMIT={{ HTK_COMMIT }}
|
||||||
|
|
||||||
./tools/deployment/airskiff/developer/015-make-all-charts.sh
|
./tools/deployment/airskiff/developer/015-make-all-charts.sh
|
||||||
args:
|
args:
|
||||||
chdir: "{{ zuul.project.src_dir }}"
|
chdir: "{{ zuul.project.src_dir }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user