Like what you see? Have a play with our trial version.

Versions Compared

Key

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

...

  1. Install the full application installer version of Yellowfin on your workstation (this is temporary to ensure the repo DB is available for the containers to use)
  2. Copy the web.xml file from this installation and save it as a backup to your preferred location (this acts as a reference for the Yellowfin credentials required to connect to your Yellowfin repo DB)
  3. Ensure Kubernetes is running and that Traefik has been installed 
  4. Copy the following text and paste it into your preferred text editor:

    Code Block
    languageyml
    --- 
    ### Yellowfin Standalone Service ### 
    apiVersion: v1 
    kind: Service 
    metadata: 
      name: yellowfin-standalone 
    
    spec: 
      ports: 
        - protocol: TCP 
          name: web 
          port: 8080 
      selector: 
        app: yellowfin-standalone 
    --- 
    ### Yellowfin Standalone Deployment ### 
    kind: Deployment 
    apiVersion: apps/v1 
    metadata: 
      namespace: default 
      name: yellowfin-standalone 
      labels: 
        app: yellowfin-standalone 
    
    spec: 
      replicas: 1 
      selector: 
        matchLabels: 
          app: yellowfin-standalone 
      template: 
        metadata: 
          labels: 
            app: yellowfin-standalone 
        spec: 
          containers: 
            - env: 
              - name: APP_MEMORY 
                value: "4096" 
              - name: JDBC_CLASS_NAME 
                value: INSERT_DATABASE_TYPE_HERE 
              - name: JDBC_CONN_ENCRYPTED 
                value: "true" 
              - name: JDBC_CONN_PASS 
                value: INSERT_JDBC_PASSWORD_HERE 
              - name: JDBC_CONN_URL 
                value: jdbc:INSERT_JDBC_CONNECTION_STRING_HERE 
              - name: JDBC_CONN_USER 
                value: INSERT_DATABASE_USER_HERE 
              name: yellowfin-standalone 
              image: yellowfinbi/yellowfin-app-only:<RELEASE_VERSION_GOES_HERE> 
              ports: 
                - name: web 
                  containerPort: 8080 
    
    --- 
    ### Yellowfin Standalone Ingress ### 
    apiVersion: traefik.containo.us/v1alpha1 
    kind: IngressRoute 
    metadata: 
      name: yellowfinstandaloneingressroute 
      namespace: default 
    spec: 
      entryPoints: 
        - web 
      routes: 
      - match: Host(`INSERT_DNS_HOSTNAME`) 
        kind: Rule 
        services: 
        - name: yellowfin-standalone 
          port: 8080 
          sticky: 
            cookie: 
              httpOnly: true 
              name: stickyCookie 


  5. Read through the above text and replace the database connection settings with your own configuration details (these are located in the web.xml file of the Yellowfin installation)

  6. In the configuration text, find the section starting with ### Yellowfin Standalone Ingress ###  and add your own server details. At a minimum, replace `INSERT_DNS_HOSTNAME` with your own DNS name (or IP address) for Traefik to listen to, for routing requests to the Yellowfin instance. For example:

    Code Block
    languageyml
    ### Yellowfin Standalone Ingress ### 
    apiVersion: traefik.containo.us/v1alpha1 
    kind: IngressRoute 
    metadata: 
      name: yellowfinstandaloneingressroute 
      namespace: default 
    spec: 
      entryPoints: 
        - web 
      routes: 
      - match: Host(`yellowfin.example.com`) 
        kind: Rule 
        services: 
        - name: yellowfin-standalone 
          port: 8080 
          sticky: 
            cookie: 
              httpOnly: true 
              name: stickyCookie 


  7. Save the text to a YAML file called yellowfin-single-yml

  8. Run the following command in a terminal to deploy Yellowfin and execute it in the background:
    Kubectl apply –f yellowfin-single-instance.yml 

  9. Start Yellowfin by typing your host URL

  10. Ensure that Yellowfin is running from your container and that you can login (this confirms that your login credentials are correct, so you can safely delete the workstation instance of Yellowfin

  11. Delete the workstation instance of Yellowfin by removing the folder

...



Styleclass
ClasstopLink

top


Section navigation

Section

Current topic - Install in a Container

The page is part of the Install in a Container topic contains the following pages, split by Docker and Kubernetes:


Column
width50%

Single Instance with App-Only Image and Load Balancer

Children Display
depth4
pageDocker


Column
width50%

Kubernetes

Children Display
depth4
pageKubernetes



This page is part of the Install And Deploy Yellowfin section of the wiki, which has these topics:


Section


Column
width20%

Install on Premises

Single Instance with App-Only Image and Load Balancer

Children Display
pageInstall on Premises


Column
width20%

Install in the Cloud

Install in the Cloud

Children Display
pageInstall in the Cloud


Column
width20%

Install in a container 

Install in a Container

Children Display
pageInstall in a Container


Column
width20%

Deploy Yellowfin

Deploy Yellowfin

Children Display
pageDeploy Yellowfin


Column
width20%

Advanced Deployments 

Advanced Deployments

Children Display
pageAdvanced Deployments



Styleclass
ClasstopLink

top


...