Comments (5)
I solve the problem. Thanks to @jdn-za and @goloroden 😊
My solution is exactly like the approach from @goloroden
Call:
$ ./deploy < values.txt
The values.txt
file contains all interactive user input. Each line describes one user input:
1
v0.19.0
v2.2.1
168h
40Gi
1Gi
5.1.1
v0.15.0-rc.1
v0.16.0-rc.3
v1.3.1
http://127.0.0.1:9090
http://127.0.0.1:9093
N
N
N
admin
secretPassword
from prometheus-kubernetes.
Would also like to have this option, either from cli and/or file/env vars
from prometheus-kubernetes.
turns out you can however use a here document or string https://www.gnu.org/software/bash/manual/bashref.html#Here-Documents
from prometheus-kubernetes.
@jdn-za I didn't know here documents until now, but I wonder if they work, whether one could not simply redirect stdin to be read from a file, like this:
$ ./deploy < values.txt
Would this work as well?
from prometheus-kubernetes.
@jdn-za Would you like to share an example? It would help me a lot! 😊
from prometheus-kubernetes.
Related Issues (20)
- Grafana service error
- error validating data: [apiVersion not set, kind not set]; HOT 5
- Feature Request: thanos support
- Target Labels are "dropped" HOT 1
- Stuck in Waiting for Operator to register custom resource definitions HOT 3
- Pods/Container metrics not show up in prometheus HOT 1
- AKS - Waiting for Operator to register custom resource definitions.... HOT 1
- Unable to mount volumes for pod
- I want to rest external_labels
- Kubernetes 1.11 update removed heapster HOT 2
- Kubelet Connection Refused HOT 1
- Custom: deploy prometheus-k8s error: error converting YAML to JSON: yaml: line 21 HOT 3
- Updating prometheus configuration
- Custom,minikube, Deploying Prometheus,prometheus-k8s.yaml: error converting YAML to JSON: yaml: line 22: mapping values are not allowed in this context HOT 2
- Where are the grafana dashboards? HOT 1
- Missing pod/container metrics from prometheus,no data point in grafana HOT 2
- Is this repo under the Apache licence? HOT 1
- pod cpu usage graph is wrong.
- Deploy script getting stuck at Waiting for Operator to register custom resource definitions HOT 1
- line 1921: did not find expected key HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prometheus-kubernetes.