Skip to content

Latest commit

 

History

History
56 lines (46 loc) · 994 Bytes

manual-installation.md

File metadata and controls

56 lines (46 loc) · 994 Bytes

Manual Installation

Prerequisites

  • kubectl configured to access your cluster
  • Linode API token
  • Target region identified

Installation Steps

  1. Generate the manifest:
./deploy/generate-manifest.sh $LINODE_API_TOKEN $REGION
  1. Review the generated manifest: The script creates ccm-linode.yaml containing:
  • ServiceAccount
  • ClusterRole and ClusterRoleBinding
  • Secret with API token
  • DaemonSet for the CCM
  1. Apply the manifest:
kubectl apply -f ccm-linode.yaml

Customization

Environment Variables

You can modify the DaemonSet to include custom environment variables:

env:
  - name: LINODE_INSTANCE_CACHE_TTL
    value: "15"
  - name: LINODE_ROUTES_CACHE_TTL_SECONDS
    value: "60"

Resource Limits

Adjust compute resources as needed:

resources:
  requests:
    cpu: 100m
    memory: 128Mi
  limits:
    cpu: 200m
    memory: 256Mi

Uninstalling

To remove the CCM:

kubectl delete -f ccm-linode.yaml