Automatically Provision TLS Certificates in K8s with cert-manager

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 เม.ย. 2018
  • Have you ever forgotten to renew a TLS Certificate and your users saw an expiered Certificate warning? Or do you find dealing with TLS Certificates and Certificate Authorities really tedious? Then this is the right video for you!
    Learn how to automate the provisioning of TLS certificates with a Kubernetes tool called cert-manager by jetstack. At the same time you'll learn a bit about Kubernetes CustomResourceDefinitions and how they interact with Controllers.
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 22

  • @dasgoll
    @dasgoll 6 ปีที่แล้ว +4

    Great video. Can't wait for the letsencrypt one :)

  • @trentzhou9897
    @trentzhou9897 5 ปีที่แล้ว

    Great talk. It's very helpful. Thank you.

  • @fastpost5068
    @fastpost5068 3 ปีที่แล้ว

    This is a great video. Thank you!

  • @MrBlanky666
    @MrBlanky666 4 ปีที่แล้ว

    Great video, thanks!

  • @yigalyiga1667
    @yigalyiga1667 ปีที่แล้ว

    Love your videos please create more stuff related to k8s

  • @praveenchandran2355
    @praveenchandran2355 5 ปีที่แล้ว +1

    Nice video. In a case where you don't trust your internal network, how do you encrypt the traffic between the ingress and the service itself ? I mean end-to-end encryption ?

  • @jorgeg3567
    @jorgeg3567 4 ปีที่แล้ว

    Very good! Thanks!!!

  • @olva
    @olva 6 ปีที่แล้ว +1

    Thank you Soooooooooooooooo Much :)

  • @RA-ir8qd
    @RA-ir8qd 2 ปีที่แล้ว

    great vid

  • @tapaschakraborty6994
    @tapaschakraborty6994 6 ปีที่แล้ว

    Last step does not create secret for me, also the events are showing blank for me. FYI - It created certificate successfully but not secret. Am I doing something wrong?

  • @fong555
    @fong555 4 ปีที่แล้ว +1

    Great video! Thanks! Do you have any example of spring boot app using embedded tomcat server and deploy to kubernetes work with Https cert? We use keytool java command to export and import key store etc. thanks!

    • @kubucation
      @kubucation  4 ปีที่แล้ว +2

      The beauty of containerization and kubernetes is that the processes work regardless of the implementation inside the containers. So, what's shown in the video will also work with a Java/Tomcat based app. You should decide if it's sufficient for your use case that TLS termination happens at the level of the ingress controller (this means traffic inside the cluster is not encrypted). Because then the process outlined here (or a similar one in the GKE ManagedCert video) works without any changes. If you absolutely need TLS termination to happen inside your container (all traffic, even inside the cluster is encrypted) then you can probably still use cert-manager to do so. Cert-manager is mostly an automation tool around completing the required Let's Encrypt challenges. As shown in the vid, the final cert once obtained is saved in a Kubernetes Secret. You can mount this secret (like any other k8s secret) to your application pods if you want. This then means that you effectively have both the private key as well as the .crt file available in your app. I'm not a Java dev (and not familiar with Tomcat), but I assume once you have those files (which is the hard part, as only the CA can sign the Cert) you can easily use them inside your containers. After all, from the perspective of the container (and this is another thing that makes this process so beautiful) it just happens to live in the local file system - without having to know where it came from :) Hope this helps a bit, for further info I'd recommend you to get familiar with the cert-manager docs. Best of luck!

  • @chuchodavidx
    @chuchodavidx 3 ปีที่แล้ว +1

    how do you modify a command line with vim? I mean, you have something written in your terminal and you jump straight to vim to edit it. How do you do that?

  • @LemontJap2k
    @LemontJap2k 2 ปีที่แล้ว

    for the last part, how can we verify using `curl` ? otherwise, nice and very informative helpful video

  • @elkevindeveloper2630
    @elkevindeveloper2630 4 ปีที่แล้ว

    I always ask myself how did he get that knowledge, idk if he has read the RFC of TLS or by reading blogs? does anyone would recommend the best way, I always end by reading RFC but at the end some keyword cannot be understood at all. thanks

  • @javagom1
    @javagom1 4 ปีที่แล้ว +1

    (3:40) in order to disable webhook...
    helm install --name cert-manager --namespace kube-system --set rbac.create=true --set webhook.enabled=false stable/cert-manager

  • @maureenlofgren8695
    @maureenlofgren8695 ปีที่แล้ว +1

    How do I https 2 dots on my phone

  • @CNRkl12
    @CNRkl12 3 หลายเดือนก่อน

    Will it fix tls cert error 509 bunch of ips?

  • @maureenlofgren8695
    @maureenlofgren8695 ปีที่แล้ว

    Great video says I won a car

  • @pizza-cat1337
    @pizza-cat1337 4 ปีที่แล้ว +1

    now more simple, cert-manager.io/docs/installation/kubernetes/ Verifying the installation example with self cert

  • @MonsterSmart
    @MonsterSmart 3 ปีที่แล้ว +2

    I can hear mechanical keyboard ;)

    • @kubucation
      @kubucation  3 ปีที่แล้ว +1

      You’re not wrong ;-)