castai / k8s-agent Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Hello, I would like to use the cost analysis feature with the dashboard but wish to self-host cast.ai. Is that possible? Or do I need to send data from my cluster to your services?
We use some custom deployment CRD’s (argo rollouts - Rollout) to drive our workloads - is it possible to include those into cost reporting? They answer to all the same API’s as Deployment does - they’re just an extension.
Here's a spec: https://argoproj.github.io/argo-rollouts/features/specification/
Minimal example:
apiVersion: argoproj.io/v1alpha1
kind: Rollout
metadata:
name: rollouts-demo
spec:
replicas: 5
strategy:
canary:
steps:
- setWeight: 20
- pause: {}
- setWeight: 40
- pause: {duration: 10}
- setWeight: 60
- pause: {duration: 10}
- setWeight: 80
- pause: {duration: 10}
revisionHistoryLimit: 2
selector:
matchLabels:
app: rollouts-demo
template:
metadata:
labels:
app: rollouts-demo
spec:
containers:
- name: rollouts-demo
image: argoproj/rollouts-demo:blue
ports:
- name: http
containerPort: 8080
protocol: TCP
resources:
requests:
memory: 32Mi
cpu: 5m
Hello.
I have a "problem" that would be some workloads that have their CPU and Memory consumption data blank, so we don't have a cost calculation, there are several workloads in several different clusters. Our clusters are Azure Kubernetes Services.
Initially I imagined that the cause was due to the low consumption of resources, some with CPU in 0.01 of use, but the memory always has a consumption that should already be relevant (20Mi, others with 60Mi, etc) for the cost calculations.
I would like some guidance on what to evaluate to find out the reason for the cost analysis at 0.
Thank you very much!
Looks like the only way to install cast.ai is manually running some shell command which includes kubectl apply
. This goes against best practices and common sense in production environments where one would manage all infrastructure, including Kubernetes resources as code.
Since Helm is an industry standard, I think it would make sense to provide a Helm chart and relevant documentation on non-shell command installation method.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.