小编jac*_*ngs的帖子

Kubernetes 公开应用程序 - AWX Operator

希望你一切都好,

我目前正在尝试推出awx-operator部署到 Kubernetes 集群上,但在从集群外部访问该服务时遇到了一些问题。

目前我设置了以下服务:

NAME                   TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)             AGE
awx                    NodePort    10.102.30.6      <none>        8080:32155/TCP      110m
awx-operator           NodePort    10.110.147.152   <none>        80:31867/TCP        125m
awx-operator-metrics   ClusterIP   10.105.190.155   <none>        8383/TCP,8686/TCP   3h17m
awx-postgres           ClusterIP   None             <none>        5432/TCP            3h16m
awx-service            ClusterIP   10.102.86.14     <none>        80/TCP              121m
kubernetes             ClusterIP   10.96.0.1        <none>        443/TCP             17h
Run Code Online (Sandbox Code Playgroud)

我确实设置了一个NodePort名为awx-operator. 我确实尝试创建应用程序的入口。您可以在下面看到:

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: awx-ingress
spec:
  rules:
  - host: awx.mycompany.com
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: awx
            port:
              number: …
Run Code Online (Sandbox Code Playgroud)

ansible ansible-awx kubernetes

5
推荐指数
1
解决办法
4498
查看次数

标签 统计

ansible ×1

ansible-awx ×1

kubernetes ×1