Upgrade to Pro — share decks privately, control downloads, hide ads and more …

KubeCon NA 2021 Technical Demo: Consul Service Mesh with .NET and Java on Kubernetes

KubeCon NA 2021 Technical Demo: Consul Service Mesh with .NET and Java on Kubernetes

Part of KubeCon North America 2021 Technical Demos for HashiCorp community office hours.

https://www.youtube.com/watch?v=Nn91ic-HHXY

Be8b596c46f4c9a1aec6a7586af33134?s=128

Rosemary Wang

October 13, 2021
Tweet

More Decks by Rosemary Wang

Other Decks in Technology

Transcript

  1. Copyright © 2020 HashiCorp October 2021 Consul Deep Dive KubeCon

    North America 2021
  2. Consul on Kubernetes References ▪ github.com/hashicorp/consul-k8s ▪ learn.hashicorp.com/collections/consul/gs-consul-service-mesh ▪ consul.io/docs/k8s

  3. Technical Demo: Terraform github.com/ksatirli/multi- cloud-kubernetes

  4. github.com/joatmon08/ expense-report

  5. 01 Tracing & Metrics KubeCon North America 2021 / Consul

    Deep Dive
  6. How do you get all the traces and metrics? Add

    Consul annotations!
  7. Tracing & Metrics References ▪ hashicorp.com/blog/tracing-dotnet-applications-with-consul-service-mesh ▪ consul.io/docs/connect/transparent-proxy ▪ consul.io/docs/k8s/connect/observability/metrics#connect-service-and-

    sidecar-metrics-with-metrics-merging
  8. 02 Traffic Management KubeCon North America 2021 / Consul Deep

    Dive
  9. Can you canary deploy the new Spring Boot application? Use

    a Consul service splitter!
  10. What happens when the MySQL database goes down? Configure Envoy

    outlier detection!
  11. Can you debug the new version of the report API?

    Use a Consul service router!
  12. Traffic Management References ▪ consul.io/docs/connect/config-entries/service-splitter ▪ consul.io/docs/connect/config-entries/service-defaults#overrides ▪ consul.io/docs/connect/config-entries/service-router

  13. 03 API Authorization KubeCon North America 2021 / Consul Deep

    Dive
  14. How do you control API access between services in the

    mesh? Use Consul intentions!
  15. API Authorization References ▪ consul.io/docs/connect/config-entries/service-intentions ▪ learn.hashicorp.com/tutorials/consul/kubernetes-custom-resource-definitions ▪ hashicorp.com/blog/using-hashicorp-consul-with-kong-ingress-controller-for- kubernetes

  16. Consul on Kubernetes References ▪ github.com/hashicorp/consul-k8s ▪ learn.hashicorp.com/collections/consul/gs-consul-service-mesh ▪ consul.io/consul-on-kubernetes

    ▪ CLI for Consul on Kubernetes is in alpha. 
 consul.io/docs/k8s/k8s-cli ▪ If you don’t want to manage Consul on Kubernetes, check out HCP Consul. 
 cloud.hashicorp.com
  17. Technical Demo: Vault 
 
 youtu.be/bLA6raoOzT8