Skip to content

Deploying on Kubernetes

For this research Kubernetes declarative configuration is used to achieve a desired state rather than an imperative approach using kubectl.

declarative deployment

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
site_name: 'docker-site-demo'
site_description: "Demonstration of a mkdocs site published as a docker image using a small nginx linux image as a base."
site_author: 'https://github.com/ukbendavies'
repo_name: 'ukbendavies/docker-site-demo'
repo_url: 'https://github.com/ukbendavies/docker-site-demo'
pages:
    - Introduction: index.md
    - Docker: docker.md
    - Kubernetes: kubernetes.md
theme:
    name: 'material'
    palette:
        primary: 'red'
        accent: 'red'
    language: 'en'
    feature:
        tabs: false
markdown_extensions:
    - admonition
    - pymdownx.superfences
    - codehilite:
        linenums: true
    - toc:
        permalink: true
extra:
    repo_icon: 'github'