Rancher Fleet

Definition

Rancher Fleet is a GitOps-based continuous delivery tool designed to manage Kubernetes clusters at scale. It allows users to deploy and manage applications across multiple clusters using a single Git repository as the source of truth. Fleet supports multi-cluster deployments, automated updates, and rollback capabilities, making it suitable for large-scale Kubernetes environments.

Secure Settings Example

apiVersion: fleet.cattle.io/v1alpha1
kind: GitRepo
metadata:
  name: secure-app-deployment
spec:
  repo: "https://github.com/secure-org/secure-app.git"
  branch: "main"
  paths:
    - "manifests/"
  targets:
    - clusterSelector:
        matchLabels:
          environment: production
  helm:
    values:
      global:
        tls:
          enabled: true
  syncPolicy:
    automated: true
    prune: true
    selfHeal: true

Insecure Settings Example

apiVersion: fleet.cattle.io/v1alpha1
kind: GitRepo
metadata:
  name: insecure-app-deployment
spec:
  repo: "https://github.com/insecure-org/insecure-app.git"
  branch: "main"
  paths:
    - "manifests/"
  targets:
    - clusterSelector:
        matchLabels:
          environment: production
  helm:
    values:
      global:
        tls:
          enabled: false
  syncPolicy:
    automated: false
    prune: false
    selfHeal: false