Skip to content

Commit

Permalink
Merge pull request #93 from abays/dpdk_kustomize
Browse files Browse the repository at this point in the history
DPDK VA EDPM kustomization
  • Loading branch information
Jaganathancse authored Feb 6, 2024
2 parents 51a5a25 + 71d60b0 commit 449c28c
Show file tree
Hide file tree
Showing 11 changed files with 261 additions and 296 deletions.
35 changes: 35 additions & 0 deletions examples/va/nfv/ovs-dpdk/dataplane.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# 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/ovs-dpdk/edpm directory
```
cd architecture/examples/va/nfv/ovs-dpdk/edpm
```
Edit the [values.yaml](values.yaml) file to suit
your environment.
```
vi values.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
```
1 change: 1 addition & 0 deletions examples/va/nfv/ovs-dpdk/edpm/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dataplane.yaml
30 changes: 0 additions & 30 deletions examples/va/nfv/ovs-dpdk/edpm/README.md

This file was deleted.

24 changes: 0 additions & 24 deletions examples/va/nfv/ovs-dpdk/edpm/dataplanesshsecret.yaml

This file was deleted.

11 changes: 11 additions & 0 deletions examples/va/nfv/ovs-dpdk/edpm/kustomization.yaml
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/ovs-dpdk/edpm/
# - https://github.com/openstack-k8s-operators/architecture/va/nfv/ovs-dpdk/edpm/?ref=main
## It's possible to replace ../../../../../va/nfv/ovs-dpdk/edpm/ with a git checkout URL as per:
## https://github.com/kubernetes-sigs/kustomize/blob/master/examples/remoteBuild.md

resources:
- values.yaml
18 changes: 0 additions & 18 deletions examples/va/nfv/ovs-dpdk/edpm/nova_migration_ssh_key.yaml

This file was deleted.

This file was deleted.

201 changes: 0 additions & 201 deletions examples/va/nfv/ovs-dpdk/edpm/openstackdataplanenodeset.yaml

This file was deleted.

Loading

0 comments on commit 449c28c

Please sign in to comment.