This repository has been archived by the owner on Jun 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Fabricio Aguiar <[email protected]>
- Loading branch information
Showing
9 changed files
with
109 additions
and
47 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
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
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
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,15 @@ | ||
apiVersion: kustomize.config.k8s.io/v1alpha1 | ||
kind: Component | ||
|
||
components: | ||
- ../baremetal | ||
|
||
patches: | ||
- target: | ||
kind: OpenStackDataPlaneDeployment | ||
patch: | | ||
$patch: delete | ||
apiVersion: dataplane.openstack.org/v1beta1 | ||
kind: OpenStackDataPlaneDeployment | ||
metadata: | ||
name: edpm-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,33 @@ | ||
apiVersion: kustomize.config.k8s.io/v1alpha1 | ||
kind: Component | ||
|
||
namespace: openstack | ||
|
||
components: | ||
- ../base | ||
|
||
resources: | ||
- openstackdataplanenovaservice.yaml | ||
|
||
configMapGenerator: | ||
- name: nova-extra-config | ||
files: | ||
- 25-nova-extra.conf=nova-extra.conf | ||
options: | ||
disableNameSuffixHash: true | ||
|
||
patches: | ||
- target: | ||
kind: OpenStackDataPlaneService | ||
name: nova | ||
patch: |- | ||
- op: replace | ||
path: /metadata/name | ||
value: nova-cell-custom | ||
- op: add | ||
path: /spec/configMaps | ||
value: | ||
- nova-extra-config | ||
configurations: | ||
- servicename.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,3 @@ | ||
[compute] | ||
cpu_shared_set = 2,6 | ||
cpu_dedicated_set = 1,3,5,7 |
20 changes: 20 additions & 0 deletions
20
examples/nova_cell_custom/openstackdataplanenovaservice.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: | ||
secrets: | ||
- nova-cell1-compute-config | ||
# NOTE: this Secret needs to be created before deploying the data plane. | ||
# It should contain an ssh key-pair in the secret fields: ssh-privatekey | ||
# and ssh-publickey | ||
- nova-migration-ssh-key | ||
playbook: osp.edpm.nova | ||
tlsCert: | ||
contents: | ||
- dnsnames | ||
- ips | ||
networks: | ||
- ctlplane | ||
issuer: osp-rootca-issuer-internal | ||
caCerts: combined-ca-bundle |
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 @@ | ||
# This file is for teaching kustomize how to substitute OpenStackDataPlaneService name reference in OpenStackDataPlaneNodeSet | ||
nameReference: | ||
- kind: OpenStackDataPlaneService | ||
version: v1beta1 | ||
group: dataplane.openstack.org | ||
fieldSpecs: | ||
- kind: OpenStackDataPlaneNodeSet | ||
version: v1beta1 | ||
group: dataplane.openstack.org | ||
path: spec/services |
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,17 @@ | ||
apiVersion: kustomize.config.k8s.io/v1alpha1 | ||
kind: Component | ||
|
||
namespace: openstack | ||
|
||
components: | ||
- ../preprovisioned | ||
|
||
patches: | ||
- target: | ||
kind: OpenStackDataPlaneDeployment | ||
patch: | | ||
$patch: delete | ||
apiVersion: dataplane.openstack.org/v1beta1 | ||
kind: OpenStackDataPlaneDeployment | ||
metadata: | ||
name: edpm-deployment |