Skip to content

ForecastleApp

To add an application to Forecastle you need to add a custom resource for ForecastleApp.

To add route from within the cluster:

apiVersion: forecastle.stakater.com/v1alpha1
kind: ForecastleApp
metadata:
  name: cr-sample-application
  namespace: default
spec:
  name: Application
  group: "Development Environment"
  icon: https://raw.githubusercontent.com/stakater/ForecastleIcons/master/stakater-big.png
  urlFrom:
    routeRef:
      name: application-route
  networkRestricted: false

Note

routeRef should point to the name of the route, and the resource ForecastleApp should be created in the same namespace as the route.

To add ingress from within the cluster:

apiVersion: forecastle.stakater.com/v1alpha1
kind: ForecastleApp
metadata:
  name: cr-sample-application
  namespace: default
spec:
  name: Application
  group: "Development Environment"
  icon: https://raw.githubusercontent.com/stakater/ForecastleIcons/master/stakater-big.png
  urlFrom:
    ingressRef:
      name: application-route
  networkRestricted: false

Note

ingressRef should point to the name of the ingress, and the resource ForecastleApp should be created in the same namespace as the ingress.

To add an external URL:

apiVersion: forecastle.stakater.com/v1alpha1
kind: ForecastleApp
metadata:
  name: cr-uptimerobot
  namespace: default
spec:
  name: UptimeRobot
  group: Alerting
  icon: https://uptimerobot.com/assets/img/logo_plain.png
  url: https://uptimerobot.com/
  networkRestricted: false

Add ForecastleApp using Application chart

If the application is using Stakater Application Chart, forecastle can be enabled by setting enabled: true in the values file

forecastle:
  enabled: false

  # Add additional labels on Forecastle Custom Resource
  additionalLabels:

  # URL of the icon for the custom app
  icon: https://raw.githubusercontent.com/stakater/ForecastleIcons/master/stakater-big.png

  # Name of the application to be displayed on the Forecastle Dashboard
  displayName: "application"

  # Group for the custom app (default: .Release.Namespace)
  group: ""

  # Add properties to Custom Resource
  properties:

  # Whether app is network restricted or not
  networkRestricted: false

More information about Forecastle usage can be found on How to Use Forecastle

Copyright © 2023 Stakater AB – Change cookie settings