Contact Us Today! 301-337-8141 | [email protected]
Call Us: 301-337-8141
Boating
11 Aug 2020
| By AlphaBravo Engineering | Categories: DevSecOps, Kubernetes

Streamline Your Kubernetes Installations With Konvoy

Setting up Kubernetes can be a longwinded process and it’s easy to overlook configuration options, leaving your setup running less than optimally, or even in an insecure way. Fortunately, there is a solution that can save you time and give you a native Kubernetes cluster that “just works” out of the box.

Konvoy Gets You Up and Running With Kubernetes Quickly

Konvoy offers a prepackaged Kubernetes installation that is fully integrated and tested so you can be confident it will work well. It includes a suite of CNCF and community-contributed tools that make application and cluster management easy, so you don’t have to worry about sourcing tools, or testing them.

Getting Started With Konvoy

Konvoy can run on most cloud instances, and is easy to get started with. All you need is a Docker installation and a recent version of the Kubernetes client. Let’s assume you’re running on AWS. You can install these using your favorite package manager, for example, Homebrew on Mac OS, or NPM on other platforms.

Once you have the Kubernetes installed, you can simply download and install Konvoy. Very little configuration is required, simply create a directory for storing state information, then run the command:

konvoy up

This will start a deployment with the default options:

  • Three control plane machines and four worker machines on your cloud instance
  • Calico for network security
  • CoreDNS to offer DNS and service discovery
  • Elasticsearch for logging
  • Persistent volumes  with AWS EBS CSI driver
  • Helm for application management
  • Fluent Bit for log collation and messaging
  • Traefik reverse proxy and load balancing, along with Traefik forward authorization proxy
  • Kubernetes Dashboard
  • Dex identity service and client authenticator
  • Kommander for multi-cluster management
  • Velero back-up and restore for persistent volumes

As you can see, with zero configuration required (beyond setting up your AWS instance), you have a fully-featured, secure, robust and easy to use Kubernetes cluster. Login credentials will be auto-generated and shown at the end of the configuration process.

By default, the system will use self-signed SSL/TLS certificates. Of course if you are planning to use this cluster in a production environment the first change you will want to make is to change these to your own certificates signed by a CA.

Once you are satisfied that the cluster was installed correctly, you should ensure that the access configuration is stored in the correct place, so you can use kubectl in the future to interact with the cluster:

konvoy apply kubeconfig

The cluster’s dashboard offers a variety of metrics, logs, alerts, traffic statistics and activity statistics. All of this is provided by default, saving developers and sysadmins the time and stress of having to find the required tools and manually configure them. Thanks to rapid deployment Kubernetes, you can focus on data science rather than tinkering in the command line.

Contact us to learn more about using D2iq’s Konvoy for Kubernetes management.