Skip to content

efcunha/Traefik-v2-TLS

Repository files navigation

Rancher Traefik v2.5.x - TLS - Kubernetes K8s - Cluster HA

Traefik 2.5.x

Traefik

O Traefik é a aplicação que iremos usar como ingress. Ele irá ficar escutando pelas entradas de DNS que o cluster deve responder. Ele possui um dashboard de monitoramento e com um resumo de todas as entradas que estão no cluster.

git clone https://github.com/efcunha/Traefik-v2-TLS.git
cd Traefik-v2-TLS/
  • Alterar no arquivo traefik-cert.yaml
    • Adicionar nas linhas "tls.crt / tls.key" os sequintes valores conforme instruções abaixo.

      Observe que o campo tls.crt deve ter o valor que você obtém após executar o comando nos arquivos de seu certificados ssl:

    cat tls.crt | base64 -w0

    Repita o mesmo comando para o campo tls.key:

    cat tls.key | base64 -w0 
  • Alterar no arquivo ingress.yaml

    • Linha 25: Colocar o endereço e dominio para o Traefik
./install-traefik.sh
kubectl --namespace=kube-system get pods

Este repositório é baseado no:

https://blog.tomarrell.com/post/traefik_v2_on_kubernetes

https://traefik.io/blog/traefik-2-2-ingress/

https://medium.com/@patrickeasters/using-traefik-with-tls-on-kubernetes-cb67fb43a948

License

Copyright (c) 2014-2018 Rancher Labs, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

Traefik v2.5.x Certificado TLS Wildcard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages