Skip to content

Commit

Permalink
Merge pull request kubernetes#4167 from chrislovecnm/openapi-updates
Browse files Browse the repository at this point in the history
Openapi updates
  • Loading branch information
k8s-ci-robot authored Dec 29, 2017
2 parents d091bcb + ea3f5d4 commit 48c6ac1
Show file tree
Hide file tree
Showing 7 changed files with 315 additions and 23 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,12 @@ bazel-genfiles
bazel-kops
bazel-out
bazel-testlogs

# Ignore default apiserver config
apiserver.local.config

# Ignore etcd
default.etcd

# Ignore awesome_bot markdown links check output
ab-results-*.json
79 changes: 73 additions & 6 deletions docs/apireference/build/index.html

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions docs/apireference/build/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
{
"filename": "_generated_alwaysallowauthorizationspec_v1alpha2_kops_definition.md"
},
{
"filename": "_generated_amazonvpcnetworkingspec_v1alpha2_kops_definition.md"
},
{
"filename": "_generated_assets_v1alpha2_kops_definition.md"
},
Expand Down
2 changes: 1 addition & 1 deletion docs/apireference/build/navData.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

62 changes: 60 additions & 2 deletions docs/apireference/examples/cluster/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,63 @@ sample: |
apiVersion: kops/v1alpha2
kind: Cluster
metadata:
name: cluster-example
spec:
creationTimestamp: "2019-12-10T22:42:27Z"
name: test.example.com
spec:
api:
loadBalancer:
type: Public
additionalSecurityGroups:
- sg-exampleid3
- sg-exampleid4
authorization:
rbac: {}
kubernetesApiAccess:
- 0.0.0.0/0
channel: stable
cloudProvider: aws
cloudLabels:
Owner: John Doe
foo/bar: fib+baz
configBase: s3://test.example.com/test.example.com
etcdClusters:
- etcdMembers:
- instanceGroup: master-us-test-1a
name: us-test-1a
name: main
version: 3.0.17
- etcdMembers:
- instanceGroup: master-us-test-1a
name: us-test-1a
name: events
version: 3.0.17
kubeAPIServer:
serviceNodePortRange: 28000-32767
kubernetesVersion: 1.8.5
masterInternalName: api.internal.test.example.com
masterPublicName: api.test.example.com
networkCIDR: 172.20.0.0/16
networkID: vpc-12345678
networking:
weave:
mtu: 8912
nodePortAccess:
- 1.2.3.4/32
- 10.20.30.0/24
nonMasqueradeCIDR: 100.64.0.0/10
sshAccess:
- 0.0.0.0/0
subnets:
- cidr: 172.20.32.0/19
id: subnet-12345678
name: us-test-1a
type: Public
zone: us-test-1a
- cidr: 172.20.4.0/22
name: utility-us-test-1a
type: Utility
zone: us-test-1a
id: subnet-12345679
topology:
masters: private
nodes: private
26 changes: 24 additions & 2 deletions docs/apireference/examples/instancegroup/instancegroup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,27 @@ sample: |
apiVersion: kops/v1alpha2
kind: InstanceGroup
metadata:
name: instancegroup-example
spec:
creationTimestamp: null
labels:
kops.k8s.io/cluster: test.aws.k8spro.com
name: nodes
spec:
image: kope.io/k8s-1.8-debian-jessie-amd64-hvm-ebs-2017-12-02
machineType: t2.medium
maxSize: 2
minSize: 2
minPrice: "0.2"
cloudLabels:
team: me
project: ion
nodeLabels:
kops.k8s.io/instancegroup: nodes
role: Node
rootVolumeSize: 200
rootVolumeOptimization: true
subnets:
- us-west-2a
taints:
- dedicated=gpu:NoSchedule
- team=search:PreferNoSchedule
Loading

0 comments on commit 48c6ac1

Please sign in to comment.