Arm-Architecture/templates/sgw-u-deploy.yaml [1:41]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
kind: Deployment
metadata:
  name: open5gs-sgwu-deployment
  namespace: open5gs   
  labels:
    epc-mode: sgwu
spec:
  replicas: 1
  selector:
    matchLabels:
      epc-mode: sgwu
  template:
    metadata:
      annotations:
          route53-service-name: '[
                                  { "name": "sx.sgwu.open5gs.service", "multus-int": "ipvlan-multus-sub-1-up" }
                               ]'
          k8s.v1.cni.cncf.io/networks: '[  { "name": "ipvlan-multus-sub-2", "interface": "net2" },
                                           { "name": "ipvlan-multus-sub-1-up", "interface": "net1" }
                                        ]'   
      labels:
        epc-mode: sgwu
    spec:
      nodeSelector:
        nodegroup: user-plane    
      containers:
      - name: sgwu
        image: "{{ .Values.open5gs.image.repository }}:{{ .Values.open5gs.image.tag }}"
        imagePullPolicy: {{ .Values.open5gs.image.pullPolicy }}
        command: ["/bin/sh", "-c"]
        args:
        - open5gs-sgwud -c /open5gs/config-map/sgwu.yaml;
        volumeMounts:
          - name: open5gs-sgwu-config
            mountPath: /open5gs/config-map/sgwu.yaml
            subPath: "sgwu.yaml"              
      volumes:
        - name: open5gs-sgwu-config
          configMap:
            name: open5gs-sgwu-config
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



x86-Architecture/templates/sgw-u-deploy.yaml [1:41]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
kind: Deployment
metadata:
  name: open5gs-sgwu-deployment
  namespace: open5gs   
  labels:
    epc-mode: sgwu
spec:
  replicas: 1
  selector:
    matchLabels:
      epc-mode: sgwu
  template:
    metadata:
      annotations:
          route53-service-name: '[
                                  { "name": "sx.sgwu.open5gs.service", "multus-int": "ipvlan-multus-sub-1-up" }
                               ]'
          k8s.v1.cni.cncf.io/networks: '[  { "name": "ipvlan-multus-sub-2", "interface": "net2" },
                                           { "name": "ipvlan-multus-sub-1-up", "interface": "net1" }
                                        ]'   
      labels:
        epc-mode: sgwu
    spec:
      nodeSelector:
        nodegroup: user-plane    
      containers:
      - name: sgwu
        image: "{{ .Values.open5gs.image.repository }}:{{ .Values.open5gs.image.tag }}"
        imagePullPolicy: {{ .Values.open5gs.image.pullPolicy }}
        command: ["/bin/sh", "-c"]
        args:
        - open5gs-sgwud -c /open5gs/config-map/sgwu.yaml;
        volumeMounts:
          - name: open5gs-sgwu-config
            mountPath: /open5gs/config-map/sgwu.yaml
            subPath: "sgwu.yaml"              
      volumes:
        - name: open5gs-sgwu-config
          configMap:
            name: open5gs-sgwu-config
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



