https://rancher.com/ logo
#français
Title
# français
c

careful-cat-62308

01/06/2023, 2:27 AM
Bonjour, Bonne et Heureuse Année à vous tous! Est-ce que quelqu’un à essayer d’installer Rancher 2.5 sur AKS en suivant ce tutoriel ci-dessous. Je suis un peu bloqué avec le nom de domaine et j’aimerais avoir un peu d’aide à ce sujet https://ranchermanager.docs.rancher.com/v2.5/getting-started/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster/rancher-on-aks Je suis également disponible pour une rencontre en vidéoconférence zoom/microsoft teams/google meet
c

careful-mouse-42236

01/06/2023, 8:02 AM
Bonjour, Pourquoi la version 2.5 de Rancher ? La plus récente est 2.7 et il serait mieux de passer sur la dernière version 2.6.X qui apporte plein d'améliorations importantes. L'installation de Rancher sur AKS se fait bien en utilisant Helm. Pour le DNS c'est à voir si vous avez un nom de domaine que vous pouvez utiliser. C'est une valeur à fournir à la ligne de commande Helm. Si c'est pour un test, le service https://sslip.io/ est très pratique.
c

careful-cat-62308

01/06/2023, 6:14 PM
Bonjour @careful-mouse-42236 et @careful-piano-35019, un grand merci. Je vais faire un nouveau déploiement avec 2.7 sur AKS. Je vous contacterai en ce qui a trait au DNS. Merci
Bonjour, J’ai utilisé rancher 2.7 et j’ai eu cette erreur probablement lié au certificat
jeffersonbienaime@JefferscBookPro ~ % kubectl -n cattle-system describe ingress Name: rancher Namespace: cattle-system Address: 20.121.157.157 Default backend: default-http-backend:80 (<error: endpoints “default-http-backend” not found>) TLS: tls-rancher-ingress terminates rancher.momanceanalytics.com Rules: Host Path Backends ---- ---- -------- rancher.momanceanalytics.com rancher:80 (10.244.1.2480,10.244.1.2580,10.244.1.26:80) Annotations: cert-manager.io/issuer: rancher cert-manager.io/issuer-kind: Issuer field.cattle.io/publicEndpoints: [{“addresses”[“20.121.157.157”],“port”443,“protocol”“HTTPS”,“serviceName”“cattle-systemrancher”,“ingressName”“cattle-system:rancher”... meta.helm.sh/release-name: rancher meta.helm.sh/release-namespace: cattle-system nginx.ingress.kubernetes.io/proxy-connect-timeout: 30 nginx.ingress.kubernetes.io/proxy-read-timeout: 1800 nginx.ingress.kubernetes.io/proxy-send-timeout: 1800 Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal CreateCertificate 29m cert-manager Successfully created Certificate “tls-rancher-ingress” Normal Sync 27m (x3 over 29m) nginx-ingress-controller Scheduled for sync jeffersonbienaime@JefferscBookPro ~ % kubectl -n cattle-system describe certificate Name: tls-rancher-ingress Namespace: cattle-system Labels: app=rancher app.kubernetes.io/managed-by=Helm chart=rancher-2.7.0 heritage=Helm release=rancher Annotations: <none> API Version: cert-manager.io/v1 Kind: Certificate Metadata: Creation Timestamp: 2023-01-09T225352Z Generation: 1 Managed Fields: API Version: cert-manager.io/v1 Fields Type: FieldsV1 fieldsV1: fmetadata flabels .: fapp f:app.kubernetes.io/managed-by: f💹 fheritage frelease fownerReferences .: k{“uid”“01b90500-07bb-4261-8397-28c757ff0964”}: fspec .: fdnsNames fissuerRef .: fgroup fkind fname fsecretName fusages Manager: controller Operation: Update Time: 2023-01-09T225352Z API Version: cert-manager.io/v1 Fields Type: FieldsV1 fieldsV1: fstatus .: fconditions flastFailureTime Manager: controller Operation: Update Subresource: status Time: 2023-01-09T225520Z Owner References: API Version: networking.k8s.io/v1 Block Owner Deletion: true Controller: true Kind: Ingress Name: rancher UID: 01b90500-07bb-4261-8397-28c757ff0964 Resource Version: 25969 UID: 036b78b0-4a3d-485e-ac91-e17cf47cee9d Spec: Dns Names: rancher.momanceanalytics.com Issuer Ref: Group: cert-manager.io Kind: Issuer Name: rancher Secret Name: tls-rancher-ingress Usages: digital signature key encipherment Status: Conditions: Last Transition Time: 2023-01-09T225520Z Message: The certificate request has failed to complete and will be retried: Failed to wait for order resource “tls-rancher-ingress-scrr7-4068673704" to become ready: order is in “invalid” state: Observed Generation: 1 Reason: Failed Status: False Type: Issuing Last Transition Time: 2023-01-09T225352Z Message: Issuing certificate as Secret does not exist Observed Generation: 1 Reason: DoesNotExist Status: False Type: Ready Last Failure Time: 2023-01-09T225520Z Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Issuing 29m cert-manager Issuing certificate as Secret does not exist Normal Generated 29m cert-manager Stored new private key in temporary Secret resource “tls-rancher-ingress-ffdjk” Normal Requested 29m cert-manager Created new CertificateRequest resource “tls-rancher-ingress-scrr7” Warning Failed 28m cert-manager The certificate request has failed to complete and will be retried: Failed to wait for order resource “tls-rancher-ingress-scrr7-4068673704" to become ready: order is in “invalid” state:
c

careful-mouse-42236

01/10/2023, 7:47 AM
Quelles sont les lignes de commande qui ont été jouées ? (helm) Dans ce cas vous pouvez regarder l'état de l'order associé.
kubectl get Secrets,Issuers,ClusterIssuers,Certificates,CertificateRequests,Orders,Challenges -A
4 Views