Commit e4f5b603 authored by Antonio Gines Buendia Lopez's avatar Antonio Gines Buendia Lopez
Browse files

Add deployment rules and external VM NBI Config

NBI specification to be removed when merging
parent 36b67b23
Loading
Loading
Loading
Loading
+16 −0
Original line number Original line Diff line number Diff line
@@ -91,3 +91,19 @@ spec:
    #  protocol: TCP
    #  protocol: TCP
    #  port: 9192
    #  port: 9192
    #  targetPort: 9192
    #  targetPort: 9192

---
apiVersion: v1
kind: Service
metadata:
  name: nbiservice-external
spec:
  type: NodePort
  selector:
    app: nbiservice
  ports:
    - name: http
      port: 8080
      targetPort: 8080
      nodePort: 30080

my_deploy.sh

100644 → 100755
+7 −1
Original line number Original line Diff line number Diff line
@@ -98,6 +98,12 @@ export TFS_COMPONENTS="context device pathcomp service nbi webui"
# Uncomment to activate Pluggables Component
# Uncomment to activate Pluggables Component
#export TFS_COMPONENTS="${TFS_COMPONENTS} pluggables"
#export TFS_COMPONENTS="${TFS_COMPONENTS} pluggables"


# Uncomment to activate PathCompExtended Component
#export TFS_COMPONENTS="${TFS_COMPONENTS} pathcompextended"






# Set the tag you want to use for your images.
# Set the tag you want to use for your images.
export TFS_IMAGE_TAG="dev"
export TFS_IMAGE_TAG="dev"
@@ -118,7 +124,7 @@ export TFS_EXTRA_MANIFESTS="manifests/nginx_ingress_http.yaml"
export TFS_GRAFANA_PASSWORD="admin123+"
export TFS_GRAFANA_PASSWORD="admin123+"


# Disable skip-build flag to rebuild the Docker images.
# Disable skip-build flag to rebuild the Docker images.
export TFS_SKIP_BUILD=""
export TFS_SKIP_BUILD="YES"




# ----- CockroachDB ------------------------------------------------------------
# ----- CockroachDB ------------------------------------------------------------