kops/docs
Kubernetes Submit Queue 10ce978b64 Merge pull request #3040 from mad01/templating
Automatic merge from submit-queue

MVP of templating 

MVP implementation of templating to generate cluster.yaml file: related to #2404 implementation is using the `text/template`

```bash
cat > values.yaml <<EOF
clusterName: eu1
kubernetesVersion: 1.7.1
dnsZone: k8s.example.com
awsRegion: eu-west-1
EOF
```

```bash
cat > cluster.tmpl.yaml <<EOF
apiVersion: kops/v1alpha2
kind: InstanceGroup
metadata:
  labels:
	kops.k8s.io/cluster: {{.clusterName}}.{{.dnsZone}}
  name: nodes
spec:
  image: coreos.com/CoreOS-stable-1409.6.0-hvm
  machineType: m4.large
  maxPrice: "0.5"
  maxSize: 2
  minSize: 15
  role: Node
  rootVolumeSize: 100
  subnets:
  - {{.awsRegion}}a
  - {{.awsRegion}}b
  - {{.awsRegion}}c

EOF
```

running the templating command
```bash
  kops toolbox template \
      --values values.yaml \
      --template cluster.tmpl.yaml \
      --output cluster.yaml
```

output
```bash
apiVersion: kops/v1alpha2
kind: InstanceGroup
metadata:
  labels:
	kops.k8s.io/cluster: eu1.k8s.example.com
  name: nodes
spec:
  image: coreos.com/CoreOS-stable-1409.6.0-hvm
  machineType: m4.large
  maxPrice: "0.5"
  maxSize: 2
  minSize: 15
  role: Node
  rootVolumeSize: 100
  subnets:
  - eu-west-1a
  - eu-west-1b
  - eu-west-1c
```
2017-08-04 09:26:41 -07:00
..
api-server Adding docs on running kops with helm 2017-03-28 07:18:15 +02:00
apireference Fix typo in the apireference README 2017-07-26 16:33:33 +01:00
asciicast Ascii cast! 2016-12-29 04:23:54 -07:00
calico_cidr_migration Fix migration script to take ipip mode into account 2017-07-24 12:21:56 -07:00
cli Merge pull request #3040 from mad01/templating 2017-08-04 09:26:41 -07:00
development Striking unnecessary and incorrect conversion-gen instruction 2017-07-28 18:46:47 -04:00
img Resize k8s logo 2016-12-01 22:42:56 -07:00
releases Adding remainder of 1.7 relnotes 2017-07-26 23:57:10 -04:00
work_in_progress Documentation updates 2017-06-30 15:33:37 -06:00
README.md Test kops submit-queue 2017-07-20 13:51:36 -07:00
addon_manager.md Add docs for addon manager 2017-04-08 12:21:22 -04:00
addons.md Update usage to 1.6.3 2017-08-01 08:47:33 +02:00
arguments.md Documentation updates 2017-06-30 15:33:37 -06:00
aws.md Update aws.md 2017-08-04 09:48:42 -04:00
bastion.md Reference private key instead of public 2017-06-08 17:17:03 -05:00
boot-sequence.md move boot-sequence doc into docs directory 2016-10-28 12:21:32 -04:00
changing_configuration.md Doc updates 2017-03-01 11:39:56 -07:00
cluster_spec.md Update cluster spec documentation with node reservation flags 2017-07-17 23:36:53 +02:00
cluster_upgrades_and_migrations.md fixed #2514: support 'kopeio' as networking argument 2017-05-12 09:08:53 -07:00
commands.md Work on cli documentation 2017-05-07 21:03:29 -06:00
creating_subdomain.md Update creating_subdomain.md 2017-05-30 13:23:29 +08:00
download_config.md Fix small typo 2017-07-31 15:57:47 -04:00
etcd_backup.md Fix typo "snapshot" in etcd_backup.md 2017-02-28 15:41:55 +01:00
etcd_volume_encryption.md Remove docs regarding manual IAM modification 2017-02-12 01:28:57 -05:00
experimental.md add EnableExternalDNS feature flag 2017-05-28 19:20:06 -04:00
gpu.md Experimental nvidia driver installation via a hook 2017-04-19 00:43:59 -04:00
high_availability.md spelled out abbreviations, moved HA example to HA docs, integrated some other suggestions from @chrislovecn 2017-06-14 23:22:10 +02:00
iam_roles.md docs: reflect changes made in #1871 2017-02-20 18:34:05 +01:00
images.md CoreOS AMI docs formatting 2017-06-15 23:23:26 -04:00
install.md Tweaks to wording 2017-02-01 11:34:27 -05:00
instance_groups.md small docs fixes 2017-08-01 00:28:38 +01:00
kubectl.md added documentation index 2017-06-14 16:05:52 +02:00
labels.md Fix a documentation instance group doc typo 2017-07-11 15:49:50 -07:00
manifests_and_customizing_via_api.md Issue #2977: Improve Manifest documentation 2017-07-17 16:44:15 -04:00
mfa.md Propose awsudo as a workaround for kops mfa 2017-06-22 01:39:28 +03:00
networking.md remove source/destination check requirement for kube-router 2017-08-01 19:27:58 +05:30
ns.md Replace kubernetes.com with example.com 2017-03-13 10:49:37 -04:00
philosophy.md Schema v1alpha2 2016-12-18 21:56:57 -05:00
releases.md 1 -> Majority for testing apres release 2016-12-05 08:41:16 -07:00
run_in_existing_vpc.md Update run_in_existing_vpc.md 2017-03-15 14:05:11 -05:00
secrets.md Update secrets.md 2016-09-09 17:09:58 +01:00
security.md Incorporate review feedback 2017-08-01 13:15:19 -07:00
single-to-multi-master.md Create all master instance groups at first 2017-06-19 18:36:56 +09:00
state.md Cleanup: move docs to top-level, add .gitignore 2016-06-30 10:31:18 -04:00
terraform.md Fixes #2535. 2017-05-11 01:17:14 -07:00
topology.md docs/topology - Fix the rolling-update command 2017-07-31 14:01:44 +05:30
update_kops.md Update update_kops.md 2017-08-01 21:06:26 +05:30
upgrade.md Update upgrade.md 2017-04-23 12:00:14 -04:00
upgrade_from_k8s_12.md Fixes for import from kube-up 2016-12-27 00:18:18 -05:00
upgrade_from_kops_1.6_to_1.7_calico_cidr_migration.md added missing command 2017-08-02 16:08:38 +02:00
upgrade_from_kubeup.md Fixes for import from kube-up 2016-12-27 00:18:18 -05:00
vsphere-dev.md Added documentation for vSphere support status. 2017-07-01 14:08:53 -04:00
vsphere-development-status.md Added documentation for vSphere support status. 2017-07-01 14:08:53 -04:00

README.md

Documentation Index

Quick start

Overview

Command-line interface

Advanced / Detailed List of Configurations

API / Configuration References

API Usage Guides

Operations

Networking

kops design documents

Security

Inspection

Development