Saltar al contenido principal
Soporte
0
Contacta con nosotros
English
Nederlands
Deutsch
Servidores dedicadosFlexible VPSTecnología de nubeUbicación compartidaDesafíos en TISectoresCareers
Cloud Compute

Con Cloud Compute, tendrás acceso a un portal desde el que podrás configurar todo tu entorno informático en cualquier momento y desde cualquier lugar del mundo.

Almacenamiento en la nube

Acceso fiable a tus archivos, infraestructura y aplicaciones en todo momento, sin interrupciones ni retrasos. En Worldstream, ofrecemos una gran variedad de soluciones de almacenamiento.

Flexible cloud icon
Nube flexible
Private cloud icon
Nube privada
Bare metal icon
Bare Metal Compute
Hollow cube icon
Almacenamiento de objetos
Hollow cube icon
Almacenamiento de archivos
Block storage icon
Almacenamiento en bloque
Backup storage icon
Almacenamiento de copias de seguridad
¿Necesitas soporte?

Con ingenieros experimentados y un tiempo medio de respuesta de 7 minutos, puedes esperar una solución de soporte técnico sólida muy rápida.

Soporte
Todos los servidores

Elige tu servidor dedicado ahora. Configuración personalizada o entrega inmediata. Servidores potentes diseñados para tu caso de uso.

Casos de uso

Sea cual sea tu caso de uso, te ayudamos a encontrar la solución adecuada.

Deal servers icon
Ofertas
AMD servers icon
Servidores AMD
AI servers icon
Servidores Intel
Hollow cube icon
Virtualización, Contenerización y Orquestación
Hollow cube icon
Sitios web y aplicaciones
Hollow cube icon
Infraestructura para gaming y streaming

Soporte 24/7/365 con un tiempo medio de respuesta de solo 7 minutos. Gracias a nuestros propios centros de datos, nuestros ingenieros pueden acceder directamente a tu servidor para ofrecer soporte rápido y directo. Contáctanos por correo o teléfono en cualquier momento.

Soporte
Externalización inteligente

Algunos aspectos de la TI crean valor añadido, mientras que otros sirven de apoyo. Aprovéchalo como punto de partida para la externalización.

Rentabilidad

Los paquetes informáticos completos pueden parecer la opción segura, pero al considerar los costes, otras opciones suelen tener más sentido.

Flexibilidad y control informáticos

Externalizar no implica perder el control; en realidad proporciona más flexibilidad y control.

Repatriación desde la nube

La nube no es el destino final: debes evaluar y ajustar tu entorno de nube continuamente a medida que cambian las necesidades.

Servicios financieros
Logística y transporte
Venta minorista y comercio electrónico
Medios de comunicación y entretenimiento
Tecnología y desarrollo de software
Seguridad
Proveedores de servicios gestionados
¿Necesitas soporte?

Con ingenieros experimentados y un tiempo medio de respuesta de 7 minutos, puedes esperar una solución de soporte técnico sólida muy rápida.

Habla con nosotrosContacta con nosotros
Acerca de WorldstreamAcerca de la tecnologíaCasosBase de conocimientos
Quiénes somosConoce al equipoTrabaja con nosotrosHazte distribuidorcertificacionesNuestros centros de datosNuestra redProtección DDoSServidores AMD EPYCPartners tecnológicosAcerca de los servidores dedicadosTodos los casosEasyTerraDutch Drone CompanyPerfGridArtículosPreguntas frecuentesNoticias y blogsProductos y servicios
Contacta con nosotros

Llama al +31 (0) 174 – 712 117 Industriestraat 53, Naaldwijk

Contacta con nosotros
Worldstream Portal
English
Nederlands
Deutsch
0
Servidores dedicadosFlexible VPSTecnología de nubeUbicación compartidaDesafíos en TISectoresCareersAcerca de WorldstreamAcerca de la tecnologíaCasosBase de conocimientosMy Worldstream
Contact
Soporte
EnglishNederlandsDeutsch
  1. InicioInicio
  2. Base de conocimientos
  3. Containers & Kubernetes
  4. Exposing services with Ingress and automatic TLS via cert-manager

Exposing services with Ingress and automatic TLS via cert-manager

Se aplica a Any self-managed Kubernetes clusterAudiencia Platform engineer, developerÚltima revisión September 2026

Respuesta rápida

A plain Kubernetes Service gives a set of pods a stable internal address. An Ingress, backed by an ingress controller such as nginx-ingress, adds HTTP(S) routing in front of that: host and path rules, and a single external entry point for many services. Layer cert-manager on top and it requests, renews, and attaches Let's Encrypt TLS certificates to that Ingress automatically, so you're not managing certificates by hand.

This is standard, open-source Kubernetes tooling, not specific to any provider. It works the same way regardless of which infrastructure your cluster runs on, see Self-managed Kubernetes on Worldstream: choosing your infrastructure if you haven't picked that yet.

Service vs. Ingress

A Service gives a stable virtual IP and DNS name to a set of pods selected by label, and load-balances traffic across them. That's enough for internal, pod-to-pod traffic, or for a LoadBalancer-type Service exposing one application externally. It doesn't give you HTTP-aware routing: no host-based rules, no path-based rules, and no shared entry point for multiple applications.

An Ingress resource sits a layer above that. It describes routing rules, "requests for shop.example.com go to the shop Service, requests for api.example.com/v1 go to the api Service", and an ingress controller running in the cluster (nginx-ingress is the most common, but Traefik and others exist too) reads those rules and does the actual routing. One ingress controller, and typically one external load balancer or public IP, can front many applications this way.

A basic Ingress manifest

This routes traffic for shop.example.com to a Service called shop-service on port 80.

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: shop-ingress
  namespace: shop
spec:
  ingressClassName: nginx
  rules:
    - host: shop.example.com
      http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: shop-service
                port:
                  number: 80

At this point the Ingress serves plain HTTP. Getting HTTPS working means either attaching a certificate manually or, more sustainably, letting cert-manager handle issuance and renewal.

Adding cert-manager for automatic TLS

cert-manager is a Kubernetes add-on that watches for certificate requests and talks to a certificate authority, most commonly Let's Encrypt, to issue and renew them without manual intervention. It's installed once into the cluster, then configured with an Issuer or ClusterIssuer that describes which CA to use and how to prove domain ownership.

A ClusterIssuer using Let's Encrypt's HTTP-01 challenge, which proves domain ownership by serving a token over plain HTTP through the ingress controller, looks like this:

apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
  name: letsencrypt-prod
spec:
  acme:
    server: https://acme-v02.api.letsencrypt.org/directory
    email: platform-team@example.com
    privateKeySecretRef:
      name: letsencrypt-prod-key
    solvers:
      - http01:
          ingress:
            ingressClassName: nginx

With that ClusterIssuer in place, annotate the Ingress and add a tls block naming the secret cert-manager should create and keep up to date. cert-manager watches for this annotation, requests the certificate, and stores it in the named secret, renewing it automatically before it expires.

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: shop-ingress
  namespace: shop
  annotations:
    cert-manager.io/cluster-issuer: letsencrypt-prod
spec:
  ingressClassName: nginx
  tls:
    - hosts:
        - shop.example.com
      secretName: shop-tls
  rules:
    - host: shop.example.com
      http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: shop-service
                port:
                  number: 80

From here, cert-manager and the ingress controller do the ongoing work between them: the controller routes and terminates TLS, cert-manager keeps the certificate behind it valid. Check the status of a certificate at any point with kubectl get certificate -n shop and kubectl describe certificate shop-tls -n shop, the latter is the quickest way to see why an issuance attempt failed if the secret isn't appearing.

Related articles

  • Self-managed Kubernetes on Worldstream: choosing your infrastructure
  • Kubernetes RBAC basics: users, roles and service accounts
  • Managing Kubernetes applications with Helm
¿Te ha resultado útil este artículo?

Informática sólida. Sin sorpresas

Tu socio para la madurez informática
Eliminamos barreras para que puedas correr
Costes previsibles y transparentes

Contacto

  • Industriestraat 53, Naaldwijk
Contacta con nosotros
Worldstream Portal (opens in a new tab)
  • Métodos de pago
  • Abuso
  • Recursos para desarrolladores
  • Centro de operaciones de red
  • Quiénes somos
  • Conoce al equipo
  • Trabaja con nosotros
  • Hazte distribuidor
  • certificaciones
  • Nuestros centros de datos
  • Nuestra red
  • Protección DDoS
  • Servidores AMD EPYC
  • Partners tecnológicos
  • Sistemas operativos
  • Vista general
  • Preguntas frecuentes
  • Casos
  • Noticias y blogs
  • Use Cases
English
Nederlands
Deutsch
English
Nederlands
Deutsch
  • Legal
  • Notificación de vulnerabilidades