AKS Deploying an Nginx Load Balancer with TLS

Good morning

I am very new with nginx and I am trying to follow a docu to explain how to make a connection using nginx LB with TLS.

In theory, the procedure it is very simple :

1.- Deploy Nginx LoadBalancer:

helm upgrade ingress-nginx ingress-nginx/ingress-nginx --install 
    --set controller.nodeSelector.starburstpool=base 
    --set defaultBackend.nodeSelector.starburstpool=base 
    --set controller.admissionWebhooks.patch.nodeSelector.starburstpool=base

2.- Deploy Certificate Manager:

helm upgrade cert-manager jetstack/cert-manager --install --namespace certs-manager --create-namespace 
    --set installCRDs=true 
    --set nodeSelector.starburstpool=base 
    --set webhook.nodeSelector.starburstpool=base 
    --set cainjector.nodeSelector.starburstpool=base

3.- Deploy Certificate Issuer:

Wait for the Certificate Manager to complete its deployment. Next, edit your local copy of cert-issuer.yaml. Add your email address to this file in the place indicated. After the file has been edited, run the following command:

The documentation said:

 - http01:
        ingress:
          class : nginx

But I change the class by public

$ cat cert-issuer.yaml 
apiVersion: cert-manager.io/v1

kind:   ClusterIssuer

metadata:
  name: letsencrypt

  namespace: certs-manager

  labels:
    name: letsencrypt
    iac: "Deployed-via-starburst-deploy"

spec:
  acme:
    server: https://acme-v02.api.letsencrypt.org/directory
    email: email@domain
    privateKeySecretRef:
      name: letsencrypt
    solvers:
    - http01:
        ingress:
          class : public
          podTemplate:
            spec:
              nodeSelector:
                "starburstpool": base

and then:

kubectl apply -f cert-issuer.yaml

Now I deploy my app.

$helm upgrade starburst-enterprise starburstdata/starburst-enterprise --install --values starburst.yaml 
    --set expose.type=ingress 
    --set expose.ingress.host=${starburst_url:?You need to specify a url}:443 
    --set registryCredentials.username=${registry_usr:?Value not set} 
    --set registryCredentials.password=${registry_pwd:?Value not set} 
    --set sharedSecret="$(openssl rand 64 | base64)" 
    ....

But I see some issues:

$ kubectl get certificate
NAME                   READY   SECRET                 AGE
tls-secret-starburst   False   tls-secret-starburst   143m

The certificate is not ready

Describing the certificate

Status:
  Conditions:
    Last Transition Time:        2024-05-13T07:15:21Z
    Message:                     Issuing certificate as Secret does not exist
    Observed Generation:         1
    Reason:                      DoesNotExist
    Status:                      False
    Type:                        Ready
    Last Transition Time:        2024-05-13T07:15:21Z
    Message:                     Issuing certificate as Secret does not exist
    Observed Generation:         1
    Reason:                      DoesNotExist
    Status:                      True
    Type:                        Issuing
  Next Private Key Secret Name:  tls-secret-starburst-qdg79
Events:                          <none>

But I have the secret

k describe secret tls-secret-starburst-qdg79
Name:         tls-secret-starburst-qdg79
Namespace:    clgroup
Labels:       cert-manager.io/next-private-key=true
              controller.cert-manager.io/fao=true
Annotations:  <none>

Type:  Opaque

Data
====
tls.key:  1704 bytes

If I review the challenge:

$ kubectl get challenge
NAME                                           STATE     DOMAIN            AGE
tls-secret-starburst-1-1114501067-2382483565   pending   pue.puetest.net   156m

$ kubectl describe challenge
....
Status:
  Presented:   true
  Processing:  true
  Reason:      Waiting for HTTP-01 challenge propagation: wrong status code '503', expected '200'
  State:       pending
Events:        <none>

If I make a curl:

$ curl  https://acme-v02.api.letsencrypt.org/acme/authz-v3/350147985507
{
  "identifier": {
    "type": "dns",
    "value": "muDomain"
  },
  "status": "pending",
  "expires": "2024-05-20T07:15:22Z",
  "challenges": [
    {
      "type": "http-01",
      "status": "pending",
      "url": "https://acme-v02.api.letsencrypt.org/acme/chall-v3/350147985507/cJzlaw",
      "token": "3gxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxIdkrit0"
    },
    {
      "type": "dns-01",
      "status": "pending",
      "url": "https://acme-v02.api.letsencrypt.org/acme/chall-v3/350147985507/nyX5_A",
      "token": "3gxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxIdkrit0"
    },
    {
      "type": "tls-alpn-01",
      "status": "pending",
      "url": "https://acme-v02.api.letsencrypt.org/acme/chall-v3/350147985507/IFP4fQ",
      "token": "3gxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxIdkrit0"
    }
  ]

So I don’t know why all the challange are pending.
I think that is the problems. But I don’t know how to solve it.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật