请问有了ingress nginx 后 如何暴露http的kube-apiserver访问?
修改内容:
- --bind-address=192.168.1.48
- --insecure-port=8080
apiserver已经开启但是访问不了:
[root@master2 ~]# kubectl get pods -o wide -n kube-system
NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
kube-apiserver-master1 1/1 Running 0 127m 192.168.1.48 master1
kube-apiserver-master2 1/1 Running 2 108m 192.168.1.49 master2
是要配置ingress 入口吗?
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: kube-apiserver
spec:
rules: