-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
1,030 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
--- | ||
vas: | ||
nova-multiplecells: | ||
stages: | ||
- path: examples/dt/nova/nova-multiplecells/control-plane/nncp | ||
wait_conditions: | ||
- >- | ||
oc -n openstack wait nncp | ||
-l osp/nncm-config-type=standard | ||
--for jsonpath='{.status.conditions[0].reason}'=SuccessfullyConfigured | ||
--timeout=60s | ||
values: | ||
- name: network-values | ||
src_file: values.yaml | ||
build_output: nncp.yaml | ||
|
||
- path: examples/dt/nova/nova-multiplecells/control-plane | ||
wait_conditions: | ||
- >- | ||
oc -n openstack wait osctlplane controlplane --for condition=Ready | ||
--timeout=1200s | ||
values: | ||
- name: network-values | ||
src_file: nncp/values.yaml | ||
- name: service-values | ||
src_file: service-values.yaml | ||
build_output: control-plane.yaml | ||
|
||
- path: examples/dt/nova/nova-multiplecells/edpm/nodeset | ||
wait_conditions: | ||
- >- | ||
oc -n openstack wait | ||
osdpns openstack-edpm --for condition=SetupReady | ||
--timeout=60m | ||
values: | ||
- name: edpm-nodeset-values | ||
src_file: values.yaml | ||
build_output: nodeset.yaml | ||
|
||
- path: examples/dt/nova/nova-multiplecells/edpm/nodeset2 | ||
wait_conditions: | ||
- >- | ||
oc -n openstack wait | ||
osdpns openstack-edpm-2 --for condition=SetupReady | ||
--timeout=60m | ||
values: | ||
- name: edpm-nodeset2-values | ||
src_file: values.yaml | ||
build_output: nodeset2.yaml | ||
|
||
- path: examples/dt/nova/nova-multiplecells/edpm/deployment | ||
wait_conditions: | ||
- >- | ||
oc -n openstack wait openstackdataplanedeployment | ||
edpm-deployment --for condition=Ready | ||
--timeout=60m | ||
values: | ||
- name: edpm-deployment-values | ||
src_file: values.yaml | ||
build_output: deployment.yaml | ||
|
||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Deployed Topology - Nova/MultipleCells | ||
|
||
If you are looking for information on how to deploy the multiplecells based DT, then | ||
please the [README](../../examples/dt/nova/nova- multiplecells/README.md) in the examples | ||
directory. | ||
|
||
This directory `dt/nova/multiplecells/`, exists so that the | ||
[kustomization.yaml](../../examples/dt/nova/nova-multiplecells/kustomization.yaml) in | ||
the examples directory of nova-multiplecells topology, reference it by path as a | ||
component. It's contents are likely uninteresting unless you want to understand | ||
how kustomize was implemented in this repository. |
21 changes: 21 additions & 0 deletions
21
dt/nova/nova-multiplecells/edpm/deployment/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1alpha1 | ||
kind: Component | ||
|
||
transformers: | ||
# Set namespace to OpenStack on all namespaced objects without a namespace | ||
- |- | ||
apiVersion: builtin | ||
kind: NamespaceTransformer | ||
metadata: | ||
name: _ignored_ | ||
namespace: openstack | ||
setRoleBindingSubjects: none | ||
unsetOnly: true | ||
fieldSpecs: | ||
- path: metadata/name | ||
kind: Namespace | ||
create: true | ||
components: | ||
- ../../../../../lib/dataplane/deployment |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1alpha1 | ||
kind: Component | ||
|
||
transformers: | ||
- |- | ||
apiVersion: builtin | ||
kind: NamespaceTransformer | ||
metadata: | ||
name: _ignored_ | ||
namespace: openstack | ||
setRoleBindingSubjects: none | ||
unsetOnly: true | ||
fieldSpecs: | ||
- path: metadata/name | ||
kind: Namespace | ||
create: true | ||
components: | ||
- ../../../lib/dataplane |
23 changes: 23 additions & 0 deletions
23
dt/nova/nova-multiplecells/edpm/nodeset/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1alpha1 | ||
kind: Component | ||
|
||
transformers: | ||
- |- | ||
apiVersion: builtin | ||
kind: NamespaceTransformer | ||
metadata: | ||
name: _ignored_ | ||
namespace: openstack | ||
setRoleBindingSubjects: none | ||
unsetOnly: true | ||
fieldSpecs: | ||
- path: metadata/name | ||
kind: Namespace | ||
create: true | ||
components: | ||
- ../../../../../lib/dataplane/nodeset | ||
|
||
resources: | ||
- nova_cell_service.yaml |
20 changes: 20 additions & 0 deletions
20
dt/nova/nova-multiplecells/edpm/nodeset/nova_cell_service.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
apiVersion: dataplane.openstack.org/v1beta1 | ||
kind: OpenStackDataPlaneService | ||
metadata: | ||
name: nova | ||
spec: | ||
label: nova | ||
dataSources: | ||
- secretRef: | ||
name: nova-cell1-compute-config | ||
- secretRef: | ||
name: nova-migration-ssh-key | ||
- configMapRef: | ||
name: nova-extra-config | ||
optional: true | ||
playbook: osp.edpm.nova | ||
caCerts: combined-ca-bundle | ||
edpmServiceType: nova | ||
containerImageFields: | ||
- NovaComputeImage | ||
- EdpmIscsidImage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1alpha1 | ||
kind: Component | ||
|
||
transformers: | ||
- |- | ||
apiVersion: builtin | ||
kind: NamespaceTransformer | ||
metadata: | ||
name: _ignored_ | ||
namespace: openstack | ||
setRoleBindingSubjects: none | ||
unsetOnly: true | ||
fieldSpecs: | ||
- path: metadata/name | ||
kind: Namespace | ||
create: true | ||
components: | ||
- ../../../lib/networking/metallb | ||
- ../../../lib/networking/netconfig | ||
- ../../../lib/networking/nad | ||
- ../../../lib/control-plane | ||
|
||
replacements: | ||
- source: | ||
kind: ConfigMap | ||
name: service-values | ||
fieldPath: data.galera.templates | ||
targets: | ||
- select: | ||
kind: OpenStackControlPlane | ||
fieldPaths: | ||
- spec.galera.templates | ||
options: | ||
create: true | ||
- source: | ||
kind: ConfigMap | ||
name: service-values | ||
fieldPath: data.rabbitmq.templates | ||
targets: | ||
- select: | ||
kind: OpenStackControlPlane | ||
fieldPaths: | ||
- spec.rabbitmq.templates | ||
options: | ||
create: true | ||
- source: | ||
kind: ConfigMap | ||
name: service-values | ||
fieldPath: data.nova.template.cellTemplates | ||
targets: | ||
- select: | ||
kind: OpenStackControlPlane | ||
fieldPaths: | ||
- spec.nova.template.cellTemplates | ||
options: | ||
create: true | ||
|
||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
apiVersion: builtin | ||
kind: NamespaceTransformer | ||
metadata: | ||
name: _ignored_ | ||
namespace: openstack | ||
setRoleBindingSubjects: none | ||
unsetOnly: true | ||
fieldSpecs: | ||
- path: metadata/name | ||
kind: Namespace | ||
create: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Deployed Topology - Nova/MultipleCells | ||
|
||
TBD | ||
|
||
## Purpose | ||
|
||
TBD | ||
|
||
## Environment | ||
|
||
### Nodes | ||
|
||
|
||
## Node topology | ||
TBD | ||
|
||
### Networks | ||
TBD | ||
|
||
#### Networks in RH OSP | ||
TBD | ||
|
||
### Services, enabled features and configurations | ||
TBD | ||
|
||
#### Support services | ||
TBD | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Configuring networking and deploy the OpenStack control plane | ||
TBD |
10 changes: 10 additions & 0 deletions
10
examples/dt/nova/nova-multiplecells/control-plane/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
components: | ||
- ../../../../../dt/nova/nova-multiplecells | ||
|
||
resources: | ||
- nncp/values.yaml | ||
- service-values.yaml |
23 changes: 23 additions & 0 deletions
23
examples/dt/nova/nova-multiplecells/control-plane/nncp/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
transformers: | ||
- |- | ||
apiVersion: builtin | ||
kind: NamespaceTransformer | ||
metadata: | ||
name: _ignored_ | ||
namespace: openstack | ||
setRoleBindingSubjects: none | ||
unsetOnly: true | ||
fieldSpecs: | ||
- path: metadata/name | ||
kind: Namespace | ||
create: true | ||
components: | ||
- ../../../../../../lib/nncp | ||
|
||
resources: | ||
- values.yaml |
Oops, something went wrong.