Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Kubernetes on Windows

You're reading from   Hands-On Kubernetes on Windows Effectively orchestrate Windows container workloads using Kubernetes

Arrow left icon
Product type Paperback
Published in Mar 2020
Publisher Packt
ISBN-13 9781838821562
Length 592 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Piotr Tylenda Piotr Tylenda
Author Profile Icon Piotr Tylenda
Piotr Tylenda
Arrow right icon
View More author details
Toc

Table of Contents (23) Chapters Close

Preface 1. Section 1: Creating and Working with Containers
2. Creating Containers FREE CHAPTER 3. Managing State in Containers 4. Working with Container Images 5. Section 2: Understanding Kubernetes Fundamentals
6. Kubernetes Concepts and Windows Support 7. Kubernetes Networking 8. Interacting with Kubernetes Clusters 9. Section 3: Creating Windows Kubernetes Clusters
10. Deploying a Hybrid On-Premises Kubernetes Cluster 11. Deploying a Hybrid Azure Kubernetes Service Engine Cluster 12. Section 4: Orchestrating Windows Containers Using Kubernetes
13. Deploying Your First Application 14. Deploying Microsoft SQL Server 2019 and a ASP.NET MVC Application 15. Configuring Applications to Use Kubernetes Features 16. Development Workflow with Kubernetes 17. Securing Kubernetes Clusters and Applications 18. Monitoring Kubernetes Applications Using Prometheus 19. Disaster Recovery 20. Production Considerations for Running Kubernetes 21. Assessments 22. Other Books You May Enjoy

Accessing your application

For accessing your application running in a pod, you have a few possibilities depending on your scenario. In debugging and testing scenarios, you can access your application in the following simple ways:

  • Use kubectl exec to create an ad hoc, interactive pod. We used this approach in the previous chapters.
  • Use kubectl proxy to access any service type. This approach works only for HTTP(S) endpoints as it uses proxy functionality provided by Kubernetes API Server.
  • Use kubectl port-forward. You can use this approach to access individual Pods or Pods running in a Deployment or behind a service.

If you would like to expose the application for end users in production, you can use the following:

  • A service object with the LoadBalancer or NodePort type: We have already demonstrated how to use the LoadBalancer Service in the previous section.
  • Using an Ingress...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime