chrislovecnm
ceafc684f2
updating documenation for new phases name
2017-10-26 12:37:55 -06:00
chrislovecnm
384c74d66c
Refactoring IAM phase to Security Phase
2017-10-26 12:28:50 -06:00
Rohith
9958d333ae
Kops Toolbox Template
...
The current implementation fails on template which reference unset variables, it is however useful at times to permit overriding this behavior and using sprig default() for example methods to handle it
- added a new command line option --fail-on-missing (defaults to true, so keeps the current behaviour)
- updated the unit test to reflect the changes
- updated the cli docs
2017-10-22 14:29:23 +00:00
John Laswell
a6dbc73502
docs updates to clarify and fix typos
...
Helps with https://github.com/kubernetes/kops/issues/3441 .
2017-09-26 19:50:38 -04:00
chrislovecnm
9ed7c5537d
cli docs updated
2017-09-23 18:14:45 -06:00
chrislovecnm
acb5e8b5a6
promoting drain and validate by setting feature flag to true
2017-09-23 16:48:01 -06:00
georgebuckerfield
da36425dfb
Enable support for encryption-at-rest
...
- add a new kops secret command to store encryption config
- add the experimential-encryption-provider-config flag to the kube-apiserver
- add functionality to nodeup to create the stored encryption config in the correct path
2017-09-22 17:14:51 +01:00
Marius Davidsen
34cbbd20db
Adds --master-public-name argument to create_cluster.
2017-09-15 13:20:20 +02:00
Caleb Gilmour
79d331e590
Add support for Romana as a networking option
2017-09-13 22:48:18 +00:00
Kubernetes Submit Queue
26e1cb06bf
Merge pull request #3190 from justinsb/flannel_vlxan
...
Automatic merge from submit-queue
Flannel: change default backend type
We support udp, which has to the default for backwards-compatibility,
but also new clusters will now use vxlan.
2017-09-12 19:03:17 -07:00
Justin Santa Barbara
f463a8e30e
Add docs for flannel-vxlan option
2017-09-12 20:53:00 -04:00
Rohith
aaf6143a98
Toolbox Templating
...
Extending the current implementation of toolbox template to include multiple files and snippets. Note, i've removed the requirements for defaults as I think people should be forced to specifically pass them.
- fixing the vetting iseues to the method YamlToJson -> YAMLToJSON
- adding a safety check to ensure templates don't reference an unknown value
- extending the unit test to ensure the above works on main and snippets
- include the ability to specify multiple configuration files, useful for common.yaml and prod.yaml etc
Requested Changes - Toolbox Templating
Added the requested changes
- moved the templater into it's own package rather than using base util
- moved to using the sprig library for additional template function
- @note: i couldn't find a native way in sprig to do snippets, also the i've overloaded the indent as it appears to do the indent on all lines rather than on the newline, meaning i'd have to shift my first line back by the indent to get it to work, which seems ugly
2017-09-08 20:30:21 +01:00
Justin Santa Barbara
6d2185a6cd
Fix space in rolling-update cluster help
...
When we use pretty.Bash, we must use pretty.LongDesc to stop the spacing
being mangled.
2017-08-26 07:39:17 -04:00
Kubernetes Submit Queue
1e3eef37bf
Merge pull request #3245 from mad01/sshsecret
...
Automatic merge from submit-queue
Adding support for adding ssh public key from file
MVP implementation of adding secret from file related to #2195
```bash
cat > secret.yaml <<EOF
apiVersion: kops/v1alpha2
kind: SSHSecret
metadata:
labels:
kops.k8s.io/cluster: dev.k8s.example.com
spec:
username: "admin"
sshPublicKey: "ssh-rsa AAAAB3NzaC1yc2EEEAADA dev@devbox"
EOF
```
`kops create -f secret.yaml`
2017-08-24 20:18:48 -07:00
chrislovecnm
6071ce7383
refactoring for tracking via assets container registry
2017-08-21 17:29:16 -06:00
Alexander Brandstedt
1eceb788e6
implementation of adding ssh public key using sshsecret spec
2017-08-21 17:18:00 +02:00
lichuqiang
90ed63465b
fix typo
2017-08-17 19:16:13 +08:00
Kubernetes Submit Queue
74d0e211f4
Merge pull request #3193 from orrchen/master
...
Automatic merge from submit-queue
resolve #3169
2017-08-14 06:14:00 -07:00
Orr Chen
43020af959
resolve #3169
2017-08-13 19:16:22 +03:00
Quentin Nerden
5491f179d1
Clarify docs: rename spec to desired conf
...
In the S3 bucket, the file cluster.spec is not actually the spec, but the
actual configuration. The file config is the spec. To avoid confusion,
this commit changes spec/specification into 'desired configuration' in
the documentation, to avoid associating cluster.spec with a cluster
'specification' that the users should use.
2017-08-10 18:50:45 +02:00
asifdxtreme
65e48b553a
Update the docs
2017-08-08 11:03:38 +08:00
Rohith
3599e64205
- fixing up the flag name from --create to --force to make it align to the kubectl syntax
2017-08-04 20:44:49 +01:00
Rohith
70144d1b88
- updated the generated documentation with the new cli option
2017-08-04 20:44:49 +01:00
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
Blake
4f95fe473f
Incorporate review feedback
...
- Rename to just DockerConfig / dockerconfig everywhere for consistency
- Check if the config is valid JSON
- Update docs
2017-08-01 13:15:19 -07:00
Blake
4d9c69c167
Add documentation and update text fixture
2017-07-29 13:29:28 -07:00
craigmonson
b58109bf33
fix "dederation"
2017-07-25 15:33:04 -04:00
craigmonson
60a2a0c85f
fix "dederation"
2017-07-25 15:31:00 -04:00
Alexander Brandstedt
3dc91aff1c
remove old docs file
2017-07-25 10:36:29 +02:00
Alexander Brandstedt
89150391c1
remove inline example file with eof
2017-07-25 10:23:59 +02:00
Alexander Brandstedt
b0cf65ceca
correct squash
2017-07-25 10:23:59 +02:00
Alexander Brandstedt
21d43e3187
MPV implementation of templating to generate cluster.yaml file: related to #2404
...
rename command templating to template
2017-07-25 10:23:59 +02:00
Kubernetes Submit Queue
14a8c9ae89
Merge pull request #3014 from BradErz/adding-ssh-access
...
Automatic merge from submit-queue
Adding ssh access flag
Adding --ssh-access flag to seperate from --admin-access
Addresses: https://github.com/kubernetes/kops/issues/3013
2017-07-21 22:43:02 -07:00
Kubernetes Submit Queue
62d702a22b
Merge pull request #2763 from justinsb/lifecycle
...
Automatic merge from submit-queue
Support for lifecycles
2017-07-21 09:59:00 -07:00
Bradley
fa755127a7
Fixing docs
2017-07-20 22:01:47 +01:00
Frederik Nordahl Jul Sabroe
76cec3940c
Fix for the instructions about using KOPS_FEATURE_FLAGS for drain and validate.
2017-07-20 16:19:24 +02:00
Justin Santa Barbara
7a870f65b9
Example of how to do bash in our CLI help
...
* Use the pretty.LongDesc function (which doesn't pipe it through
markdown -> ascii)
* Use pretty.Bash helper to avoid problems with backticks in
go-backtick-quoted-strings
* Make sure indentation is consistent
2017-07-15 22:09:48 -04:00
Justin Santa Barbara
ebc97af7cf
autogen
2017-07-15 22:04:01 -04:00
Justin Santa Barbara
17b3fa36eb
Try adding header to generated CLI docs
...
Fix #2834
2017-07-15 13:14:21 -04:00
Benedict Hartley
c45ba71c0b
Build new docs
2017-07-14 19:53:13 +01:00
Giancarlo Rubio
cbe8742699
review doc on creating instance group
2017-07-06 16:02:21 +02:00
Arve Knudsen
bb776c6ca3
Fix typos in upgrade cluster docs
2017-07-04 00:50:47 +02:00
chrislovecnm
ed5ef173ee
Fixing typo and grammar
2017-06-20 11:37:33 -06:00
chrislovecnm
26224ce371
Work on deletes; no error without "--yes", fixed delete.go deleting ig that does not exist, doc updates.
2017-06-17 22:19:35 -06:00
Justin Santa Barbara
8fb99a87e2
Merge pull request #2680 from murali-reddy/kube-router
...
add support for kube-router as CNI networking provider
2017-06-16 10:37:49 -04:00
Matt Marchetti
c847bd1fa3
Initial commit to add option to set volume size at creation
2017-06-09 10:53:25 -04:00
Murali Reddy
e872dbcb86
add support for kube-router as CNI networking provider
...
fixes #2606
Most part of the changes are similar to current supported CNI networking
provider. Kube-router also support IPVS bassed service proxy which can
be used as replacement for kube-proxy. So the manifest for kube-router
included with this patch enables kube-router to provide pod-to-pod
networking, IPVS based service proxy and ingress pod firewall.
2017-06-09 17:01:31 +05:30
Eric Hole
fb75bdcd31
get now gets a cluster
2017-05-19 17:29:05 -06:00
Willem Mali
cf7d9c71c9
Clarified --image paramater applies to all cluster instances
2017-05-19 14:20:51 +02:00
Willem Mali
1fffc13a22
removed deprecated secrets command subtree from CLI and docs
2017-05-18 14:52:14 +02:00
Mike Splain
3c02a412be
Fix ci failure of 'make gen-cli-docs'
2017-05-16 09:44:30 -04:00
Mike Splain
bd0f18d413
Rename api-loadbalancer to api-loadbalancer-type and cleanup
2017-05-16 09:42:52 -04:00
Mike Splain
bb30f51fc4
Add api-loadbalancer option to force public or internal loadbalancer for the masters
2017-05-16 09:42:52 -04:00
Chris Love
e1cbf82072
Merge pull request #2566 from gianrubio/fix-rolling-upgrade
...
Review rolling-update command
2017-05-15 14:47:58 -06:00
Chris Love
12e4305998
Merge pull request #2565 from gianrubio/fix-completion-command
...
review completion command
2017-05-15 09:59:08 -06:00
Giancarlo Rubio
44ea396832
review rolling-update command
...
export var KOPS_FEATURE_FLAGS in the docs
2017-05-15 16:26:14 +02:00
Justin Santa Barbara
c94373fe88
Merge pull request #2550 from rdtr/accept_kopeio_as_network_spec
...
#2514 support 'kopeio' as networking argument
2017-05-15 10:22:00 -04:00
Giancarlo Rubio
76e40a88d9
review completion command
2017-05-15 12:30:56 +02:00
Norio Akagi
f480ac9a12
fixed #2514 : support 'kopeio' as networking argument
2017-05-12 09:08:53 -07:00
Laurent Crisci
cf6654e60c
Fixed some typos, s/resrouces/resources/
2017-05-11 17:05:50 +01:00
Stefano Vozza
cb53eb3518
mention cloudformation as target in update cluster help
2017-05-08 22:04:24 +01:00
chrislovecnm
53848f1f7f
Work on cli documentation
2017-05-07 21:03:29 -06:00
chrislovecnm
7487b0d756
updating docs, adding verify-gendocs and more build tweaks
2017-05-04 18:58:10 -06:00
chrislovecnm
3d3e03cfab
docs are out of date
2017-04-22 12:56:33 -06:00
chrislovecnm
3b03fe6864
zsh autocompletion and updating docs
2017-04-22 11:55:51 -06:00
Justin Santa Barbara
8bc48ef10a
Merge pull request #2305 from caarlos0/patch-1
...
Fixed typos: clusteres -> cluster
2017-04-06 21:13:36 -04:00
Chris Love
bd564cf7fd
Merge pull request #2240 from MrTrustor/delete-f
...
Implement --filename option for kops delete
2017-04-06 15:41:11 -06:00
Carlos Alexandro Becker
6d9d21b149
fixed typo on kops_rolling-update_cluster
2017-04-06 17:49:25 -03:00
Théo Chamley
d1ff517441
Update documentation for kops delete -f
2017-03-30 18:15:36 +02:00
Kris Nova
2ae3e806de
Meep, remove nivenly.com from state store
2017-03-21 13:19:07 -06:00
Kris Nova
047800a96f
Adding docs and fixing Makefile
2017-03-21 13:17:43 -06:00
chrislovecnm
56da9f14de
updating generated docs
2017-03-01 16:24:07 -07:00
Robin Percy
f9b3c5e584
Now applying the tags to IGs at render time.
...
- Previous method would have caused issues with the way tags are used
for filtering resources.
- Updated docs and comments to only refer to instance groups, rather
than all AWS resources
2017-02-23 06:10:15 -08:00
Robin Percy
6fa4acd49e
Exposed cloud labels as a CLI option
...
- --cloud-labels will be applied to every kops-created resource
- Also ran apimachinery to regenerated the conversions for the new
Cluster.ClusterLabels property.
2017-02-22 06:24:35 -08:00
Matthew Mihok
bc235765d1
Adding basic flannel support
2017-02-11 16:26:18 -05:00
Justin Santa Barbara
baa893e462
Generate docs against master branch
...
Fix #1765
2017-02-05 11:30:33 -05:00
chrislovecnm
d228592af5
Updating documentation
2017-02-01 22:08:19 -07:00
Thomas Peitz
9a1c192211
Update docs for --node-security-groups/--master-security-groups
2017-01-30 18:58:48 +01:00
Kris Nova
29997d4987
Cobra docs
2017-01-05 10:23:41 -07:00
alok87
a413ea5ac3
Merge remote-tracking branch 'kopsrepo/master' into bastion_improvements
...
* kopsrepo/master:
gcs-upload: Use a no-clobber copy instead
gcs-upload: Fix cache-control on other files as well
changes from code review
doc updates
unit tests with fakes
it is working in alpha
working on the start of validate
Starting work on node lookup and validation
starting porting node code
Fix retries for AutoScalingGroup pending delete
Apply gofmt to pkg directory
Avoid tests hitting kubernetes stable.txt HTTP file
Fix printing of max size on instance group
Disable kubelet from starting until after volume mounts
Fix Cluster parsing error message
bumping stable channel to k8s 1.4.6
support more zones(cn-north-1a/b) for cloud provider guess
2016-11-30 07:58:41 +05:30
chrislovecnm
2bbc95d9e8
changes from code review
2016-11-28 18:54:57 -07:00
chrislovecnm
c311a54081
doc updates
2016-11-28 18:18:03 -07:00
chrislovecnm
8a1934ae8b
unit tests with fakes
...
updating docs
2016-11-28 18:17:53 -07:00
alok87
eb67bca038
Docs updated for bastion enable
2016-11-23 12:36:07 +05:30
alok87
2f1ebdea15
Enable/disable bastion, defaults to false
2016-11-23 12:31:51 +05:30
alok87
6069350b06
Topology added
...
Issue - https://github.com/kubernetes/kops/issues/863
2016-11-10 14:06:38 +05:30
Billy Shambrook
7472349b86
Stop cobra adding a autogenerated comment when creating docs.
...
This is to avoid spamming pull requests.
2016-11-08 11:56:50 +00:00
Billy Shambrook
13919b066a
add example to cli help for completion command.
2016-11-08 11:52:03 +00:00
Billy Shambrook
ea689f8ca9
add completion cli command.
2016-11-05 18:41:57 +00:00
Billy Shambrook
8e979ca434
add genhelpdocs cmd to generate cli markdown docs
2016-11-05 18:41:47 +00:00