Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • values-smile.yaml 
    Code Block
    # To deploy very first time (probably done already)
    # kubectl create namespace smile
    # kubectl -n smile create secret generic regcred --from-file=.dockerconfigjson=regcred.json --type=kubernetes.io/dockerconfigjson
    #
    # To deploy new version
    # helm upgrade --install --namespace smile --create-namespace smile . --values values-smile-dev.yaml
    # need to set
    # - jupyterhub.proxy.secretToken
    # - postgresql.postgresqlPassword
    
    hostname: &hostname smile.smm.ncsa.illinois.edu
    storage: &storage csi-cinder-sc-retain
    
    image:
      pullPolicy: Always
    
    ingress:
      traefik: true
      hosts:
        - host: *hostname
    
    cors:
      origin:
        - http://localhost:3000/
        - http://localhost:5000/
    
    # ----------------------------------------------------------------------
    # DEPLOYMENT
    # ----------------------------------------------------------------------
    smile_server:
      replicas: 1
      image:
        tag: 0.23.20
      persistence:
        size: 10Gi
        storageClass: *storage
    
    smile_graphql:
      replicas: 1
      image:
        tag: 0.12.08
    
    algorithm_autophrase:
      replicas: 1
      image:
        tag: 0.1.24
    
    algorithm_classification_predict:
      replicas: 1
      image:
        tag: 0.1.12
    
    algorithm_classification_split:
      replicas: 1
      image:
        tag: 0.1.12
    
    algorithm_classification_train:
      replicas: 1
      image:
        tag: 0.1.12
    
    algorithm_histogram:
      replicas: 1
      image:
        tag: 0.1.01
    
    algorithm_network_analysis:
      replicas: 1
      image:
        tag: 0.1.13
    
    algorithm_preprocessing:
      replicas: 1
      image:
        tag: 0.1.13
    
    algorithm_sentiment_analysis:
      replicas: 1
      image:
        tag: 0.1.15
    
    algorithm_screen_name_prompt:
      replicas: 1
      image:
        tag: 0.1.1
    
    algorithm_topic_modeling:
      replicas: 1
      image:
        tag: 0.1.13
    
    algorithm_name_entity_recognition:
      replicas: 1
      image:
        tag: 0.1.02
    
    image_crawler:
      replicas: 1
      image:
        tag: 0.1.12
    
    collect_reddit_comment:
      replicas: 1
      image:
        tag: 0.1.12
    
    # ----------------------------------------------------------------------
    # DEPENDENCIES
    # ----------------------------------------------------------------------
    
    # ----------------------------------------------------------------------
    # rabbitmq
    # ----------------------------------------------------------------------
    rabbitmq:
      persistence:
        size: 1Gi
        storageClass: *storage
      ingress:
        hostname: rabbitmq.smm.ncsa.illinois.edu
    
    # ----------------------------------------------------------------------
    # minio
    # ----------------------------------------------------------------------
    minio:
      persistence:
        size: 10Gi
        storageClass: *storage
      ingress:
        hostname: minio.smm.ncsa.illinois.edu
      apiIngress:
        hostname: minio-api.smm.ncsa.illinois.edu
  • secret.yaml
    Code Block
    ---
    apiVersion: v1
    kind: Secret
    metadata:
      name: {{ include "smile.fullname" . }}-server
      labels:
        {{- include "smile.labels" . | nindent 4 }}
    stringData:
      HOST_IP: "smile-minio"
      MINIO_URL: "URL for the minio"
      REDIS_URL: "redis://smile-redis-master:6379"
      RABBITMQ_URL: "amqp://smile-rabbitmq:5672"
      SMILE_GRAPHQL_URL: "http://smile-graphql:5050/graphql"
      RABBITMQ_HOST: "smile-rabbitmq"
      REDDIT_CALLBACK_URL: "Call back url for REDDIT"
      CILOGON_CLIENT_ID: "CILOGON client ID"
      CILOGON_CLIENT_SECRET: "CILOGON client secret"
      REDDIT_CLIENT_ID: "REDDIT client ID"
      REDDIT_CLIENT_SECRET: "REDDIT client secret"
      BOX_CLIENT_ID: "BOX client ID"
      BOX_CLIENT_SECRET: "BOX client secret"
      DROPBOX_CLIENT_ID: "DROPBOX client ID"
      DROPBOX_CLIENT_SECRET: "DROPBOX client secret"
      GOOGLE_CLIENT_ID: "Google client ID"
      GOOGLE_CLIENT_SECRET: K8m-"Google client secret"
      EMAIL_HOST=smtp.ncsa.illinois.edu
      EMAIL_FROM_ADDRESS=devnull+smm@ncsa.illinois.edu
      EMAIL_PORT=25
      EMAIL_PASSWORD=
    
    ---
    apiVersion: v1
    kind: Secret
    metadata:
      name: {{ include "smile.fullname" . }}-minio-secret
      labels:
        {{- include "smile.labels" . | nindent 4 }}
    stringData:
      root-user: "minio root user"
      root-password: "minio root user password"
    ---
    apiVersion: v1
    kind: Secret
    metadata:
      name: {{ include "smile.fullname" . }}-graphql
      labels:
        {{- include "smile.labels" . | nindent 4 }}
    stringData:
      TWITTER_CONSUMER_KEY: "Twitter consumer key"
      TWITTER_CONSUMER_SECRET: Twitter consumer secret

...