Skip to content

Commit

Permalink
Merge pull request #167 from ayberk/mkdocs
Browse files Browse the repository at this point in the history
Migrate to mkdocs
  • Loading branch information
k8s-ci-robot authored Dec 23, 2020
2 parents 56d52fd + f0585b7 commit c069a21
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 5 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/publish_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Publish docs via GitHub Pages
on:
push:
branches:
- master
paths:
- 'docs/**'
- 'mkdocs.yml'

jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v1
- name: Deploy docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions docs/book/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
This is the official documentation for the Kubernetes AWS cloud provider.

WARNING: this docs site is actively under development.

5 changes: 2 additions & 3 deletions docs/book/getting_started.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
# Getting Started

## AWS Cloud Controller Manager

Before you start, make sure you go through the [prerequisites](../prerequisites.md).
Before you start, make sure you go through the [prerequisites](prerequisites.md).

In order to launch a cluster running the aws-cloud-controller-manager, you can run the appropriate container image release from this repository on an existing cluster, or you can use a deployment tool that has support for deploying it, like kops.

## Running on an Existing Cluster

Follow these steps when upgrading an existing cluster by launching the aws-cloud-controller-manager as a pod:

1. Temporarily stop the kube-controller-managers from running.
1. Add the `--cloud-provider=external` to the kube-controller-manager config.
1. Add the `--cloud-provider=external` to the kube-apiserver config.
Expand Down
7 changes: 5 additions & 2 deletions docs/book/SUMMARY.md → docs/book/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Summary
# Home

This is the official documentation for the Kubernetes AWS cloud provider.

WARNING: this docs site is actively under development.

* [Introduction](README.md)
* Cloud Controller Manager
* [Prerequisites](prerequisites.md)
* [Getting Started](getting_started.md)
Expand Down
11 changes: 11 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
site_name: Kubernetes AWS Cloud Provider
docs_dir: ./docs/book
site_description: Documentation for AWS Cloud Provider for Kubernetes
repo_name: kubernetes/cloud-provider-aws/
repo_url: https://github.com/kubernetes/cloud-provider-aws/
theme: material
nav:
- index.md
- prerequisites.md
- getting_started.md
- development.md

0 comments on commit c069a21

Please sign in to comment.