mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-05-06 21:12:37 +00:00
Removes module_utils. Updates modules.
This commit is contained in:
@@ -147,6 +147,15 @@ requirements:
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: Create replica set
|
||||
k8s_v1_horizontal_pod_autoscaler.yml:
|
||||
name: test-scaler
|
||||
namespace: test
|
||||
state: present
|
||||
scale_target_ref_kind: ReplicaSet
|
||||
scale_target_ref_name: test
|
||||
min_replicas: 2
|
||||
max_replicas: 5
|
||||
'''
|
||||
|
||||
RETURN = '''
|
||||
|
||||
@@ -336,6 +336,17 @@ requirements:
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: Create replica set
|
||||
k8s_v1beta1_replica_set.yml:
|
||||
name: myreplicaset
|
||||
namespace: test
|
||||
state: present
|
||||
replicas: 3
|
||||
spec_template_metadata_labels:
|
||||
name: myreplicaset
|
||||
containers:
|
||||
- name: myreplicaset
|
||||
image: openshift/origin-ruby-sample:v1.0
|
||||
'''
|
||||
|
||||
RETURN = '''
|
||||
|
||||
@@ -349,6 +349,22 @@ requirements:
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: Create stateful set
|
||||
k8s_v1beta1_stateful_set.yml:
|
||||
name: test
|
||||
labels:
|
||||
name: test
|
||||
namespace: test
|
||||
state: present
|
||||
service_name: test
|
||||
replicas: 3
|
||||
spec_template_metadata_labels:
|
||||
name: test
|
||||
spec_template_metadata_name: test
|
||||
termination_grace_period_seconds: 10
|
||||
containers:
|
||||
- name: test
|
||||
image: openshift/origin-ruby-sample:v1.0
|
||||
'''
|
||||
|
||||
RETURN = '''
|
||||
|
||||
Reference in New Issue
Block a user