Skip to content

Commit c2d5c41

Browse files
authored
Update k8s-best-practices-spk-integration-via-spk-operator.adoc
1 parent 9c20aed commit c2d5c41

File tree

1 file changed

+0
-46
lines changed

1 file changed

+0
-46
lines changed

modules/k8s-best-practices-spk-integration-via-spk-operator.adoc

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -4,52 +4,6 @@
44

55
The SPK runs in a separate namespace from the workload. The workload will not have direct permissions to access this namespace. In order to allow applications to manage the lifecycle of the SPK deployment, the SPK operator is used. The SPK Operator defines several CRDs for which CRs are created in the CNF namespace:
66

7-
[id="cnf-best-practices-spkprofile"]
8-
== SPKProfile
9-
The `SPKProfile` CRD handles LCM operations of SPK itself. Example:
10-
11-
[source,yaml]
12-
----
13-
apiVersion: webscale.verizon.com/v1
14-
kind: SPKProfile
15-
metadata:
16-
name: spkprofile-democnf
17-
namespace: democnf
18-
spec:
19-
bgp_networks:
20-
edn:
21-
ip_version:
22-
- v4
23-
- v6
24-
mtu: 8000
25-
provision: true
26-
replicas: 2
27-
spk_version: v1.7.0
28-
----
29-
30-
When the `SPKProfile` CR is created, tmm pods are started within the spk namespace `spk-<app
31-
namespace>` with the specified version and number of replicas.
32-
33-
[id="cnf-best-practices-spkstaticroute"]
34-
== SPKStaticroute
35-
The SPK Staticroute is used to provision static routes in the SPK by application owners in the
36-
application namespace. Example:
37-
38-
[source,yaml]
39-
----
40-
apiVersion: webscale.verizon.com/v1
41-
kind: SPKStaticRoute
42-
metadata:
43-
name: edn-loopbacks-183
44-
namespace: spk-democnf
45-
spec:
46-
gatewaynetworks:
47-
edn:
48-
destination_v4:
49-
- 10.183.0.0/24
50-
destination_v6:
51-
- fd00:4888:2000:1400:22/64
52-
----
537

548
[id="cnf-best-practices-spksnatpool"]
559
== SPKSnatpool

0 commit comments

Comments
 (0)