Coder Social home page Coder Social logo

kubectl-k8s-agent's Introduction

CAST AI Kubernetes Agent

A component that connects your Kubernetes cluster to the CAST AI platform to enable Kubernetes automation and cost optimization features.

Getting started

Visit the docs to connect your cluster.

Helm chart

The helm chart for the CAST AI Kubernetes agent is published in the castai/helm-charts repo.

Contributing

Run the agent in your IDE

You must provide the these environment variables:

API_KEY=your-castai-api-key
API_URL=api.cast.ai
KUBECONFIG=/path/to/kubeconfig

Then, based on the Kubernetes provider, you need to provide additional environment variables.

AKS

PROVIDER=aks
AKS_LOCATION=your-cluster-location
AKS_SUBSCRIPTION_ID=your-cluster-subscription-id
AKS_NODE_RESOURCE_GROUP=your-cluster-resource-group

EKS

PROVIDER=eks
EKS_ACCOUNT_ID=your-aws-account-id
EKS_REGION=your-cluster-region
EKS_CLUSTER_NAME=your-cluster-name

kOps

PROVIDER=kops

GKE

PROVIDER=gke
GKE_PROJECT_ID=your-gke-project-id
GKE_CLUSTER_NAME=your-cluster-name
GKE_REGION=your-cluster-region
GKE_LOCATION=your-cluster-location

note, when using zonal GKE_REGION and GKE_LOCATION is often the same, i.e. europe-west3-a

Issues

If you encounter "Error: no Auth Provider found for name "gcp"", add a discard import to the main fn:

import (
    _ "k8s.io/client-go/plugin/pkg/client/auth/gcp"
)

Release procedure (with automatic release notes)

Head to the GitHub new release page, create a new tag at the top, and click Generate Release Notes at the middle-right. image

Licence

Apache 2.0 License

kubectl-k8s-agent's People

Contributors

zilvinasu avatar undeadrat22 avatar saumas avatar castaiphil avatar aldor007 avatar anjmao avatar mindaugascast avatar karolisl avatar viktorasm avatar ernestas2k avatar dariuspie avatar kiriloman avatar dependabot[bot] avatar andrejatcastai avatar varnastadeus avatar romanmelnyk113 avatar fals avatar jerk400 avatar jmazionis avatar r0kas avatar matas-cast avatar snyk-bot avatar

Stargazers

HuntEmALL.DEV aka TheJ_Erk400 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.