name: ingress-nginx namespace: ingress-nginx --- apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: labels: app.kubernetes.io/component: admission-webhook app.kubernetes.io/instance: ingress-nginx app.kubernetes.io/name: ingress-nginx app.kubernetes.io/part-of: ingress-nginx a...
What this PR does / why we need it: This PR migrates the webhook-certgen program from https://github.com/jet/kube-webhook-certgen to here, adapting the code base to work with k8s 1.22
k8s.gcr.io/ingress-nginx/kube-webhook-certgen:v1.1.1 1. 2. 替换为国内镜像源 registry.aliyuncs.com/google_containers/kube-webhook-certgen:v1.1.1 liangjw/ingress-nginx-controller:v1.1.2 1. 2. [root@k8s-master ~]# kubectl apply -f deploy.yaml namespace/ingress-nginx unchanged serviceaccount...
kube-webhook-certgen的镜像地址改为国内仓库地址registry.aliyuncs.com/google_containers/kube-webhook-certgen 3.4 执行安装 资源清单文件修改完成后,执行helm安装: shell #先创建一个名称空间[root@k8s-master ~]# kubectl create ns ingress-nginx namespace/ingress-nginx created#进入chart目录[root@k8s-master ~...
ingress-nginx/ingress-nginx 4.1.3 1.2.1 Ingress controller for Kubernetes using NGINX a... # 下载ingress包 [root@k8s-master-01 src]# helm pull ingress-nginx/ingress-nginx [root@k8s-master-01 src]# ll ingress* -rw-r--r-- 1 root root 40551 May 31 22:36 ingress-nginx-4.1.3.tgz ...
[root@master231~]# sed -i's#ingress-nginx/kube-webhook-certgen#yinzhengjie-k8s/ingress-nginx#'ingress-nginx/values.yaml[root@master231~]# sed -i's#v1.3.0#kube-webhook-certgen-v1.3.0#'ingress-nginx/values.yaml[root@master231~]# sed -ri'/digest:/s@^@#@'ingress-nginx/values.yaml[...
修改ingress-nginx-contorller,注释掉 digest 修改hostNetwork 的值为 true 修改dnsPolicy 的值为 ClusterFirstWithHostNet nodeSelector 添加标签: ingress: “true”,用于部署 ingress-controller 到指定节点 修改kind 类型为 DaemonSet 修改kube-webhook-certgen 的镜像地址为国内仓库registry.cn-hangzhou.aliyuncs.com/go...
2、因默认镜像源国内无法访问 ,修改为dockerhub上的镜像源 修改controller/deploy的image: image: bitnami/nginx-ingress-controller:1.1.2 修改ingress.nginx-admission-create的image: image: liangjw/kube-webhook-certgen:v1.1.1 修改ingress-nginx-admission-patch的image: ...
更换国内从源,先用docker测试是否能拉取. docker pull registry.aliyuncs.com/google_containers/nginx-ingress-controller:v1.5.1 v1.5.1: Pulling from google_containers/nginx-ingress-controller docker pull registry.aliyuncs.com/google_containers/kube-webhook-certgen:v20220916-gd32f8c343 ...
ingress-nginx: 4.11.2 3.安装离线镜像准备 # 下载 ingress-controller依赖镜像(国内机器有墙无法拉取) docker pull registry.k8s.io/ingress-nginx/kube-webhook-certgen:v1.4.3 docker pull registry.k8s.io/ingress-nginx/controller:v1.11.2 # 导出为离线镜像 ...