Categorygithub.com/aacfactory/fns-contrib/cluster/kubernetes
package
0.12.5
Repository: https://github.com/aacfactory/fns-contrib.git
Documentation: pkg.go.dev

# README

Kubernetes cluster bootstrap

Install

go get github.com/aacfactory/fns-contrib/cluster/kubernetes

Usage

import (
	_ "github.com/aacfactory/fns-contrib/cluster/kubernetes"
)

Config

cluster:
  devMode: false
  kind: "kubernetes"
  options:
    kubernetes:
      inCluster: true
      kubeConfigPath: "~/.kube" # when inCluster is false
      namespace: "fns-dev"
      timeoutSeconds: 60
      labels:
        - "FNS=SERVICE"       

Note: env MY_POD_NAME and MY_POD_IP are required, see inject-data-application for more.