-
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.
Merge pull request #76 from abays/kustomize_edpm
Data plane kustomization for SRIOV VA
- Loading branch information
Showing
15 changed files
with
335 additions
and
178 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Configuring networking and deploy the OpenStack control plane | ||
|
||
## Assumptions | ||
|
||
- The [control plane](control-plane.md) has been created and successfully deployed | ||
|
||
## Initialize | ||
|
||
Switch to the "openstack" namespace | ||
``` | ||
oc project openstack | ||
``` | ||
Change to the nfv/sriov/edpm directory | ||
``` | ||
cd architecture/examples/va/nfv/sriov/edpm | ||
``` | ||
Edit the [values.yaml](values.yaml) file to suit | ||
your environment. | ||
``` | ||
vi values.yaml | ||
``` | ||
Alternatively use your own copies of those files and edit | ||
[kustomization.yaml](kustomization.yaml) to use those copies. | ||
``` | ||
resources: | ||
- values-ci-framework.yaml | ||
``` | ||
|
||
Generate the dataplane CRs. | ||
``` | ||
kustomize build > dataplane.yaml | ||
``` | ||
|
||
## Create CRs | ||
``` | ||
oc apply -f dataplane.yaml | ||
``` | ||
|
||
Wait for dataplane deployment to finish | ||
``` | ||
oc wait osdpd edpm-deployment --for condition=Ready --timeout=1200s | ||
``` |
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 @@ | ||
dataplane.yaml |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
components: | ||
- ../../../../../va/nfv/sriov/edpm/ | ||
# - https://github.com/openstack-k8s-operators/architecture/va/nfv/sriov/edpm/?ref=main | ||
## It's possible to replace ../../../va/nfv/sriov/edpm/ with a git checkout URL as per: | ||
## https://github.com/kubernetes-sigs/kustomize/blob/master/examples/remoteBuild.md | ||
|
||
resources: | ||
- values.yaml |
This file was deleted.
Oops, something went wrong.
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,10 @@ | ||
apiVersion: v1 | ||
data: | ||
authorized_keys: _replaced_ | ||
ssh-privatekey: _replaced_ | ||
ssh-publickey: _replaced_ | ||
kind: Secret | ||
metadata: | ||
name: dataplane-ansible-ssh-private-key-secret | ||
namespace: openstack | ||
type: Opaque |
Oops, something went wrong.