apiVersion: v1 kind: Service metadata: name: e-school-backend namespace: i2 spec: type: NodePort selector: app: e-school-backend ports: - port: 8080 name: api nodePort: 31100 protocol: TCP targetPort: 8080 - port: 389 name: ldap nodePort: 31102 protocol: TCP targetPort: 389