| team@social.meissa-gmbh.de | Website & Blog
This crate is part of dda-pallet.
This is a asciinema recording of the features of this crate:
This crate sets up a K8s as SingleNode-Instance. Setup is based on ubuntu18.4
The Kubernetes cluster installed by this crate provides the following features:
We use the following components:
k8s api and dashboard is eposed to localhost only and can be accesed through a ssh-tunnel, all k8s operations can be executed by a k8s user. Generated yml manifests can be found at '/home/k8s/k8s-resources'
dda-k8s exposes its ingress to the outside by using metallb. The most important config for ingress and metallb options are:
We use cert-manager to issue certificates for us. There following issuers are available:
The self-signed issuer does not require a secret or certificate config file. For the letsencrypt issuer we distinguish between an issuer for staging and for production.
The dashboard allows for debugging and to get an overview of the Kubernetes cluster and should later also provide networking. To secure the dashboard, an ssh proxy is required and the dashboard can then be accessed via a http://localhost:8002/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy in the browser.
ssh k8s@k8s-server-name -L 8002:localhost:8002
kubectl proxy &
# you need to authorize as k8s or have your public_key under k8s authorized_keys
# you can get the authorize token with this command
kubectl -n kube-system describe secret admin-user| awk '$1=="token:"{print $2}'
You can use the dashboard for monitoring, debugging or checking the state of pods like we do in this screenshot:
The nexus repository manager uses certmanager for certificates. The storage is relized as PersistentVolume.
dda-pallet is compatible with the following versions
In case of problems you may want to have a look at the log-file:
less logs/pallet.log
You can define provisioning targets using the targets-schema
You can use our conventions as a starting point: see domain reference
Or you can build your own conventions using our low level infra API. We will keep this API backward compatible whenever possible: see infra reference
Copyright © 2018, 2019 meissa GmbH Licensed under the Apache License, Version 2.0 (the "License") Pls. find licenses of our subcomponents here
Can you improve this documentation? These fine people already did:
jem, Jan Krebs, M.Jerger & azEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close