Commit Graph

640 Commits

Author SHA1 Message Date
Kubernetes Submit Queue 325047c0ca Merge pull request #3266 from Rajadeepan/Rajadeepan-patch-2
Automatic merge from submit-queue

Fix Broken Link
2017-08-24 23:58:50 -07: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
Justin Santa Barbara c9c621e03e Merge pull request #3261 from tmjd/calico-upgrade-release-note
Started release notes for 1.7.1
2017-08-24 20:46:02 -04:00
Rajadeepan D Ramesh ffc3aa5c8d Fix Broken Link
Fix Broken Link
2017-08-25 02:14:35 +05:30
Justin Santa Barbara b61b74408b Update images in CI tests 2017-08-24 10:27:27 -04:00
Erik Stidham a0782b0e4f Started release notes for 1.7.1 2017-08-24 09:05:12 -05:00
Kubernetes Submit Queue 73c2ea8f8f Merge pull request #3262 from murali-reddy/kube-router-docs
Automatic merge from submit-queue

Add documentaion to kube-router section of docs/networking

Adding couple of sentences to kube-router documentation.
2017-08-24 00:37:41 -07:00
Kubernetes Submit Queue 5b76cd3833 Merge pull request #3237 from justinsb/17_is_released
Automatic merge from submit-queue

Fix heading on 1.7 notes
2017-08-23 23:36:33 -07:00
Murali Reddy af8d0f6917 Add documentaion to kube-router section of docs/networking 2017-08-24 10:35:07 +05:30
Dave Powell f82bbbcde0 Fix README.md fragment links 2017-08-23 12:19:26 -04:00
Alexander Brandstedt 66d4c4ed67 change PulicKey to lower p as in publicKey in json 2017-08-23 12:38:27 +02:00
Alexander Brandstedt 5705885d02 rename sshsecret to sshcredential and update files to reflect change. 2017-08-23 12:18:10 +02:00
Kubernetes Submit Queue 4edc267fb8 Merge pull request #3090 from gambol99/file_assets
Automatic merge from submit-queue

Cluster / InstanceGroup File Assets

@chrislovecnm @justinsb ... 

The current implementation does not make it ease to fully customize nodes before kube install. This PR adds the ability to include file assets in the cluster and instaneGroup spec which can be consumed by nodeup. Allowing those whom need (i.e. me :-)) greater flexibilty around their nodes. @Note, nothing is enforced, so unless you've specified anything everything is as the same

- updated the cluster_spec.md to reflect the changes
- permit users to place inline files into the cluster and instance group specs
- added the ability to template the files, the Cluster and InstanceGroup specs are passed into context
- cleaned up and missed comment, unordered imports etc along the journey

notes: In addition to this; need to look at the detecting the changes in the cluster and instance group spec. Think out loud perhaps using a last_known_configuration annotation, similar to kubernetes
2017-08-22 19:49:48 -07:00
Kubernetes Submit Queue 2d7fb51c2a Merge pull request #3025 from chrislovecnm/mapping-and-uploading-kubernetes-assets
Automatic merge from submit-queue

inventory assets - mapping and uploading kubernetes containers
2017-08-22 19:15:31 -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
Rajadeepan D Ramesh 1237694efe Fix minor typo 2017-08-21 03:37:25 +05:30
Justin Santa Barbara 365d7a83a0 Fix heading on 1.7 notes
1.7 is released, so docs should reflect that!
2017-08-20 09:45:05 -04:00
Rohith 494671eaaf Request Changes - File Assets
- removed the Mode field from the FileAsset spec
- removed the ability to template the content
- removed the need to specify the Path and instead default to /srv/kubernetes/assets/<name>
- change the FileAssets from []*FileAssets to []FileAssets
2017-08-18 18:06:45 +01:00
Rohith c15221c872 - adding a Roles filter to the file assets to choose who gets the asset 2017-08-18 18:06:44 +01:00
Rohith aa1a92c60e Cluster / InstanceGroup File Assets
The current implementation does not make it ease to fully customize nodes before kube install. This PR adds the ability to include file assets in the cluster and instaneGroup spec which can be consumed by nodeup. Allowing those whom need (i.e. me :-)) greater flexibilty around their nodes. @Note, nothing is enforced, so unless you've specified anything everything is as the same

- updated the cluster_spec.md to reflect the changes
- permit users to place inline files into the cluster and instance group specs
- added the ability to template the files, the Cluster and InstanceGroup specs are passed into context
- cleaned up and missed comment, unordered imports etc along the journey
2017-08-18 18:06:44 +01:00
lichuqiang b581e8144b fix typo 2017-08-18 08:42:47 +00:00
Kubernetes Submit Queue 7274b60631 Merge pull request #3205 from tigerlinux/master
Automatic merge from submit-queue

Changes on CoreOS related documentation.

- Changed "experimental" to "production-ready" status on CoreOS
  images.
- Added a complete tutorial/exercise using a multi-master setup
  with CoreOS
2017-08-17 08:02:13 -07:00
lichuqiang 90ed63465b fix typo 2017-08-17 19:16:13 +08:00
Kubernetes Submit Queue 16f6fe4bbb Merge pull request #3217 from lichuqiang/master
Automatic merge from submit-queue

fix typo in bastion.md
2017-08-17 02:20:28 -07:00
Kubernetes Submit Queue 52e004710d Merge pull request #3113 from justinsb/docs_api_access
Automatic merge from submit-queue

Fix docs to reference kubernetesApiAccess, not apiAccess
2017-08-16 10:56:03 -07:00
Kubernetes Submit Queue 32c641844c Merge pull request #3213 from lsowen/patch-1
Automatic merge from submit-queue

Fix typo in link (lables.md -> labels.md)
2017-08-16 10:25:18 -07:00
lichuqiang 089e12d095 fix typo in bastion.md 2017-08-17 01:14:46 +08:00
Reinaldo Martinez 865755e79e Changed all CoreOS related documentation 2017-08-16 11:54:57 -04:00
lsowen c561bdc52f Fix typo in link (lables.md -> labels.md) 2017-08-16 09:32:10 -04:00
lichuqiang 4942ccdf74 fix typo 2017-08-16 21:25:20 +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
Kubernetes Submit Queue b7331ac23e Merge pull request #2992 from itskingori/node_resource_handling
Automatic merge from submit-queue

Add documentation on handling node resources

At a minimum, this is meant to give more context on why the feature in https://github.com/kubernetes/kops/pull/2982 was added and attempts to give some recommendations of what to consider when evaluating node system resources.

I hope this spurs some discussion and that the recommendations I make maybe be assessed further. For example ... in one of the links I referenced, we're advised to set `system-reserved` **only if we know what we are doing** (which I can't say I do 💯% ... 🤷‍♂️) and we're even warned to only set it if you really need to.
2017-08-14 05:28:28 -07:00
Orr Chen 43020af959 resolve #3169 2017-08-13 19:16:22 +03:00
King'ori Maina 1bd329ad93
Avoid fuzzy language 2017-08-12 21:18:16 +02:00
King'ori Maina 14359657c0
Prefer to wrap text
Line-breaks makes it easier for reviews, especially Github commenting.
2017-08-12 21:17:10 +02:00
Rohith 7f5c83e417 Requests Changes - Hooks Enhancement
- switched to using an array of roles rather than boolean flags for node selection
- fixed up the README to reflect the changes
- added the docker.service as a Requires to all docker exec hooks
2017-08-11 12:41:08 +01:00
Rohith 0bfc2f1b24 Hooks in InstanceGroups
- extending the hooks to permit adding hooks per instancegroup as well
- @note, instanceGroup are permitted to override the cluster wide one for ease of testing
- updated the documentation to reflect the changes
- on the journey tried to fix an go idioms such as import ordering, comments for global export etc
- @question: v1alpha1 doesn't appear to have Subnet fields, are these different version being used anywhere?
2017-08-11 12:40:10 +01:00
Rohith 153db84df1 Custom Manifests via Hooks
The present implementation of hooks only perform for docker exec, which isn't that flexible. This PR permits the user to greater customize systemd units on the instances

- cleaned up the manifest code, added tests and permit setting a section raw
- added the ability to filter hooks via master and node roles
- updated the documentation to reflect the changes
- cleaned up some of the vetting issues
2017-08-11 12:40:10 +01:00
Rohith fe3dd9815c Cluster Hook Ordering
The current implementation does not permit the user to order the hooks. This PR adds optional Requires, Before and Documentation to the HookSpec which is added the systemd unit if specified.
2017-08-11 12:40:10 +01:00
Kubernetes Submit Queue b418c3036d Merge pull request #3125 from gambol99/kubelet_api
Automatic merge from submit-queue

Kubelet API Certificate

A while back options to permit secure kube-apiserver to kubelet api was [PR2381](https://github.com/kubernetes/kops/pull/2831) using the server.cert and server.key as testing grounds. This PR formalizes the options and generates a client certificate on their behalf (note, the server{.cert,key} can no longer be used post 1.7 as the certificate usage is checked i.e. it's not using a client cert). The users now only need to add anonymousAuth: false to enable secure api to kubelet. I'd like to make this default to all new builds i'm not sure where to place it.

- updated the security.md to reflect the changes
- issue a new client kubelet-api certificate used to secure authorize comms between api and kubelet
- fixed any formatting issues i came across on the journey
2017-08-11 02:41:14 -07:00
Kubernetes Submit Queue b1aee7a505 Merge pull request #2542 from kenden/patch-1
Automatic merge from submit-queue

Clarify docs: rename spec/specification into desired configuration 

The cluster state in S3 has (among others) two files: `cluster.spec` and `config`.
When the documentation mentioned "create or update cluster spec" for example, it was confusing what was actually updated. It's not the cluster.spec file.
As I understand, `cluster.spec` should only be created/updated after `kops update --yes` is run.

I changed the docs for `kops get`, `kops create`, `kops replace`, `kops edit`.
I did NOT change those files: `kops_rolling-update.md`, `kops_rolling-update_cluster.md` as I think those actually use `cluster.spec`.
2017-08-10 21:37:29 -07: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
Nathan Smith 3e24cef79f Specify initial period in gossip-based cluster name pattern 2017-08-09 14:26:08 -07:00
Rohith 9873fc1be5 Requested Changes
- fixed the various issues highlighted in https://github.com/kubernetes/kops/pull/3125
- changed the docuementation to make more sense
- changed the logic of the UseSecureKubelet to return early
2017-08-08 13:47:08 +01:00
asifdxtreme 65e48b553a Update the docs 2017-08-08 11:03:38 +08:00
Rohith 2fb60b9b3d Kubelet API Certificate
A while back options to permit secure kube-apiserver to kubelet api was https://github.com/kubernetes/kops/pull/2831 using the server.cert and server.key as testing grouns. This PR formalizes the options and generates a client certificate on their behalf (note, the server{.cert,key} can no longer be used post 1.7 as the certificate usage is checked i.e. it's not using a client cert). The users now only need to add anonymousAuth: false to enable secure api to kubelet. I'd like to make this default to all new builds i'm not sure where to place it.

- updated the security.md to reflect the changes
- issue a new client kubelet-api certificate used to secure authorize comms between api and kubelet
- fixed any formatting issues i came across on the journey
2017-08-08 01:11:09 +01:00
Derek VerLee ffa95b8112 Add support for cluster using http forward proxy 2017-08-07 14:30:42 -04: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