kubectl how to view external ports with domains
- User
kubectl how to view external ports with domains
- Assistant
When you want to view external ports and domains for services deployed in a Kubernetes cluster using
kubectl, you're generally looking to find information about Services of type or . Here are various commands and methods you can use to gather this information: - User
ons" for a list of global command-line options (applies to all commands). drone@cartman:~$ kubectl get services -A NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE argocd argocd-applicationset-controller ClusterIP 10.152.183.123 7000/TCP,8080/TCP 25d argocd argocd-dex-server ClusterIP 10.152.183.247 5556/TCP,5557/TCP,5558/TCP 25d argocd argocd-metrics ClusterIP 10.152.183.127 8082/TCP 25d argocd argocd-notifications-controller-metrics ClusterIP 10.152.183.161 9001/TCP 25d argocd argocd-redis ClusterIP 10.152.183.153 6379/TCP 25d argocd argocd-repo-server ClusterIP 10.152.183.202 8081/TCP,8084/TCP 25d argocd argocd-server ClusterIP 10.152.183.245 80/TCP,443/TCP 25d argocd argocd-server-metrics ClusterIP 10.152.183.82 8083/TCP 25d
- Assistant
- User
is it possible from cli without config files?
- Assistant
Yes, you can create resources directly from the command line using
kubectlwithout needing an external YAML configuration file. Below are the commands to create an Ingress resource and expose your ArgoCD service via the command line. - User
- Assistant
- User
well, okay, how to do this with 443 through traefik with config file
- Assistant
- User
but traefik do certs automatically with letsencrypt
- Assistant
- User
i have 404 error now
- Assistant
- User
2025-02-10T05:44:19Z ERR Error configuring TLS error="secret argocd/argocd-tls does not exist" ingress=argocd-ingress namespace=argocd providerName=kubernetes
got yhis error
- Assistant
- User
2025-02-10T05:45:44Z ERR Error configuring TLS error="secret argocd/argocd-tls does not exist" ingress=argocd-ingress namespace=argocd providerName=kubernetes 2025-02-10T05:45:44Z ERR Error configuring TLS error="secret argocd/argocd-tls does not exist" ingress=argocd-ingress namespace=argocd providerName=kubernetes 2025-02-10T05:45:44Z ERR Error configuring TLS error="secret argocd/argocd-tls does not exist" ingress=argocd-ingress namespace=argocd providerName=kubernetes 2025-02-10T05:45:44Z ERR Error configuring TLS error="secret argocd/argocd-tls does not exist" ingress=argocd-ingress namespace=argocd providerName=kubernetes 2025-02-10T05:46:05Z ERR Router uses a nonexistent certificate resolver certificateResolver=myresolver routerName=argocd-argocd-ingress-argo-mydomain-com@kubernetes 2025-02-10T05:46:36Z ERR Router uses a nonexistent certificate resolver certificateResolver=myresolver routerName=argocd-argocd-ingress-argo-dev-zverinec-media@kubernetes
- Assistant