Create a Basic Open5GS Deployment
-
Create a deployment configuration file for Open5GS. Here’s a basic example (the missing configuration will be set to default values):
apiVersion: net.gradiant.org/v1 kind: Open5GS metadata: name: open5gs-sample spec: configuration: slices: - sst: "1" sd: "0x111111"
Download open5gs-basic-deployment.yaml
- The
slices
field is optional. If it is not provided in the configuration, default values will be used by the operator.
- The
-
Apply the deployment file:
kubectl apply -f open5gs-basic-deployment.yaml
Create Open5GS Users
-
Create a configuration file for the users you want to add. Here’s an example:
apiVersion: net.gradiant.org/v1 kind: Open5GSUser metadata: name: open5gsuser-sample spec: imsi: "999700000000001" key: "465B5CE8B199B49FAA5F0A2EE238A6BC" opc: "E8ED289DEBA952E4283B54E88E6183CA" sd: "111111" sst: "1" apn: "internet" open5gs: name: "open5gs-sample" namespace: "default"
- The
apn
,sst
, andsd
fields are optional. If they are not provided in the configuration, default values will be used by the system. - The
open5gs
field must contain thename
andnamespace
of the Open5GS deployment to which the user will be assigned.
- The
-
Apply the user configuration:
kubectl apply -f open5gs-user.yaml