Latest changes

This commit is contained in:
Chris Houseknecht
2017-03-23 04:15:26 -04:00
parent f928690369
commit cc7f18bc25
14 changed files with 5502 additions and 1109 deletions

View File

@@ -87,6 +87,13 @@ options:
- Path that the router watches for, to route traffic for to the service. Optional
aliases:
- path
spec_port_target_port:
description:
- The target port on pods selected by the service this route points to. If this
is a string, it will be looked up as a named port in the target endpoints port
list. Required
aliases:
- port_target_port
spec_tls_ca_certificate:
description:
- caCertificate provides the cert authority certificate contents
@@ -181,21 +188,20 @@ EXAMPLES = '''
namespace: k8s-project
state: present
host: www.example.com
target_reference_kind: Service
target_reference_name: service-name
spec_to_kind: Service
spec_to_name: service-name
tls_termination: edge
tls_key: |-
-----BEGIN PRIVATE KEY-----
asjdflajd0fjasldjflsjflkjlkjfaljsdfljasljflasjfljsdf
sdlfjalsdjfljasdfljsljfljsfljdf
key_file_contents
-----END PRIVATE KEY-----
tls_certificate: |-
-----BEGIN CERTIFICATE-----
kdlslfsfljetuoeiursljflsdjffljsfsf90909wrjf94lsjdf99KK
certificate contents
-----END CERTIFICATE-----
tls_ca_certificate: |-
-----BEGIN CERTIFICATE-----
asdfajflasfjfsljlrjlrjlsjfoijlsornkvksflsbgoehfflf54444
ca_certificate_contents
-----END CERTIFICATE-----
- name: Patch route
@@ -205,11 +211,11 @@ EXAMPLES = '''
state: present
host: www.example.com
tls_termination: reencrypt
target_reference_kind: Service
target_reference_name: other-service-name
spec_to_kind: Service
spec_to_name: other-service-name
tls_destination_ca_certificate: |-
-----BEGIN CERTIFICATE-----
destination cetricate_contents
destination_cetricate_contents
-----END CERTIFICATE-----
- name: Replace route
@@ -219,8 +225,8 @@ EXAMPLES = '''
state: replaced
host: www.example.com
path: /foo/bar/baz.html
target_reference_kind: Service
target_reference_name: whimsy-name
spec_to_kind: Service
spec_to_name: whimsy-name
tls_termination: edge
tls_key: |-
-----BEGIN PRIVATE KEY-----

View File

@@ -128,6 +128,32 @@ options:
aliases:
- selector_match_labels
type: dict
spec_strategy_rolling_update_max_surge:
description:
- 'The maximum number of pods that can be scheduled above the desired number of
pods. Value can be an absolute number (ex: 5) or a percentage of desired pods
(ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated
from percentage by rounding up. By default, a value of 1 is used. Example: when
this is set to 30%, the new RC can be scaled up immediately when the rolling
update starts, such that the total number of old and new pods do not exceed
130% of desired pods. Once old pods have been killed, new RC can be scaled up
further, ensuring that total number of pods running at any time during the update
is atmost 130% of desired pods.'
aliases:
- strategy_rolling_update_max_surge
spec_strategy_rolling_update_max_unavailable:
description:
- 'The maximum number of pods that can be unavailable during the update. Value
can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%).
Absolute number is calculated from percentage by rounding up. This can not be
0 if MaxSurge is 0. By default, a fixed value of 1 is used. Example: when this
is set to 30%, the old RC can be scaled down to 70% of desired pods immediately
when the rolling update starts. Once new pods are ready, old RC can be scaled
down further, followed by scaling up the new RC, ensuring that the total number
of pods available at all times during the update is at least 70% of desired
pods.'
aliases:
- strategy_rolling_update_max_unavailable
spec_strategy_type:
description:
- Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.

View File

@@ -71,6 +71,11 @@ options:
- Specifies the name of the referenced service.
aliases:
- backend_service_name
spec_backend_service_port:
description:
- Specifies the port of the referenced service.
aliases:
- backend_service_port
spec_rules:
description:
- A list of host rules used to configure the Ingress. If unspecified, or no rule

View File

@@ -66,6 +66,14 @@ options:
password:
description:
- Provide a password for connecting to the API. Use in conjunction with I(username).
spec_min_available:
description:
- An eviction is allowed if at least "minAvailable" pods selected by "selector"
will still be available after the eviction, i.e. even in the absence of the
evicted pod. So for example you can prevent all voluntary evictions by specifying
"100%".
aliases:
- min_available
spec_selector_match_expressions:
description:
- matchExpressions is a list of label selector requirements. The requirements