Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Docker and Kubernetes for Java Developers

You're reading from  Docker and Kubernetes for Java Developers

Product type Book
Published in Aug 2017
Publisher Packt
ISBN-13 9781786468390
Pages 318 pages
Edition 1st Edition
Languages
Author (1):
Jarosław Krochmalski Jarosław Krochmalski
Profile icon Jarosław Krochmalski

Table of Contents (12) Chapters

Preface 1. Introduction to Docker 2. Networking and Persistent Storage 3. Working with Microservices 4. Creating Java Microservices 5. Creating Images with Java Applications 6. Running Containers with Java Applications 7. Introduction to Kubernetes 8. Using Kubernetes with Java 9. Working with the Kubernetes API 10. Deploying Java on Kubernetes in the Cloud 11. More Resources

Creating the cluster

We are going to create a simple cluster with one master node and two worker nodes. To do it using kops, we will need:

  • A user profile declared in ~/.aws/credentials (this is done automatically if you authenticate using aws configure).
  • An S3 bucket to store kops cluster state. In order to store the representation of our cluster and its state, we need to create a dedicated S3 bucket for kops to use. This bucket will become the source of truth for our cluster configuration.
  • DNS configured. This means we will need a Route 53 hosted zone in the same AWS account. Amazon Route 53 is a highly available and scalable cloud Domain Name System (DNS) web service. Kops will use it to create records needed by the cluster. If you are using newer kops (1.6.2 or later), then DNS configuration is optional. Instead, a gossip-based cluster can be easily created. For the purposes...
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 $15.99/month. Cancel anytime}