首页 > 其他分享 >kubernetes v1.24.0安装ingress

kubernetes v1.24.0安装ingress

时间:2023-01-13 16:33:28浏览次数:49  
标签:ingress kubernetes admission rbac nginx v1.24 io k8s


环境
kubernetes v1.24.0
ingress :controller:v1.1.2

Ingress-nginx 官网 https://kubernetes.github.io/ingress-nginx/ 获取 deploy.yaml 文件

kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.2.0/deploy/static/provider/cloud/deploy.yaml

3.1 关于deploy.yaml文件,有两个镜需要国际加速才能拉取

k8s.gcr.io/ingress-nginx/controller:v1.1.2
k8s.gcr.io/ingress-nginx/kube-webhook-certgen:v1.1.1

替换为国内镜像源

registry.aliyuncs.com/google_containers/kube-webhook-certgen:v1.1.1
liangjw/ingress-nginx-controller:v1.1.2
[root@k8s-master ~]# kubectl apply -f deploy.yaml 
namespace/ingress-nginx unchanged
serviceaccount/ingress-nginx unchanged
serviceaccount/ingress-nginx-admission unchanged
role.rbac.authorization.k8s.io/ingress-nginx unchanged
role.rbac.authorization.k8s.io/ingress-nginx-admission unchanged
clusterrole.rbac.authorization.k8s.io/ingress-nginx unchanged
clusterrole.rbac.authorization.k8s.io/ingress-nginx-admission unchanged
rolebinding.rbac.authorization.k8s.io/ingress-nginx unchanged
rolebinding.rbac.authorization.k8s.io/ingress-nginx-admission unchanged
clusterrolebinding.rbac.authorization.k8s.io/ingress-nginx unchanged
clusterrolebinding.rbac.authorization.k8s.io/ingress-nginx-admission unchanged
configmap/ingress-nginx-controller unchanged
service/ingress-nginx-controller unchanged
service/ingress-nginx-controller-admission unchanged
deployment.apps/ingress-nginx-controller configured
job.batch/ingress-nginx-admission-create unchanged
job.batch/ingress-nginx-admission-patch unchanged
ingressclass.networking.k8s.io/nginx unchanged
validatingwebhookconfiguration.admissionregistration.k8s.io/ingress-nginx-admission configured


标签:ingress,kubernetes,admission,rbac,nginx,v1.24,io,k8s
From: https://blog.51cto.com/u_15941303/6006303

相关文章

  • CentOS 7.6 kubernetes v.1.17  系统初始化脚本
    本文基于CentOS7.6kubernetesv.1.17 系统初始化,供参考#!/bin/bash#data:2019-12-10#centos7.6#角色划分#Master|Kube-apiserver,kube-controller-manager,kube-sc......
  • Kubernetes metrics-server: kubectl top nodes Error from server (ServiceUnavailab
    部署metrics-server时,pod能正常启动,但是不能正常使用 kubectltoppodsErrorfromserver(ServiceUnavailable):theserveriscurrentlyunabletohandletherequest......
  • kubernetes无法删除namespace 提示 Terminating
    最近配置traefik时,想重新部署jenkins,出现如下问题 解决方法如下:#kubectlgetnamespacejenkins-ojson>tmp.json先运行kubectlgetnamespacejenkins-ojson>tmp.j......
  • Centos 7.2 Kubernetes1.9
    ......
  • 在 Kubernetes 中部署并使用 KubeEdge
    作者:马伟,青云科技容器顾问,云原生爱好者,目前专注于云原生技术,云原生领域技术栈涉及Kubernetes、KubeSphere、KubeKey等。边缘计算在广泛制造业、工业、零售和金融等行业,随......
  • 从 Nginx Ingress 窥探云原生网关选型
    现今有越来越多的企业开始采纳云原生理念进行应用架构转型。而K8s和微服务是云原生的两大支柱,随着云原生浪潮而被广泛应用。 对多数应用而言,提供对外服务的使命并不......
  • 从 Nginx Ingress 窥探云原生网关选型
    现今有越来越多的企业开始采纳云原生理念进行应用架构转型。而K8s和微服务是云原生的两大支柱,随着云原生浪潮而被广泛应用。 对多数应用而言,提供对外服务的使命并不......
  • 从 Nginx Ingress 窥探云原生网关选型
    现今有越来越多的企业开始采纳云原生理念进行应用架构转型。而K8s和微服务是云原生的两大支柱,随着云原生浪潮而被广泛应用。 对多数应用而言,提供对外服务的使命并不......
  • 02. Kubernetes - Containerd
    Containerd前面知道了DockerEngine中就有Containerd,只不过现在是将Containerd从DockerEngine里分离出来,作为一个独立的开源项目,目标是提供一个更加开放、稳定的......
  • kubernetes集群部署
    kubeadm方式部署部署准备改主机名称#master节点[root@k8s-master~]#echo"k8s-master">/etc/hostname#node01节点[root@k8s-node01~]#echo"k8s-node01">......