Comments (15)
@gmarek @wojtek-t Do you have any hints for setting up a dev cluster easily & quickly?
from dashboard.
@zreigz Can you take this?
from dashboard.
There is a script to start a light version locally:
./hack/local-up-cluster.sh
Is that what you want?
from dashboard.
I was just going to write the same thing:). If you want 'real' one, you can just use your GCE project and and use cluster/kube-up.sh
from dashboard.
I'm thinking about a Kubernetes cluster that can be used on, e.g., CI for test. ./hack/local-up-cluster.sh
looks like exactly what we need. Thank you!
I'll let @zreigz figure out how to integrate it with this project.
from dashboard.
Also, if you need something for integration tests - you can take a look how we are running integration tests. We already have some framework for it (maybe you can easily extend it for you purpose).
Take a look at:
- test/integration/framework (for framework implementation)
- test/integration/*_test.go (to see how it is used)
from dashboard.
To give you some more details - in integration tests we're locally running master components together with mocked "SimpleKubelets". As long as you need just information from etcd (i.e. no information from nodes) it should be enough.
from dashboard.
To give you some more details - in integration tests we're locally running master components together with mocked "SimpleKubelets". As long as you need just information from etcd (i.e. no information from nodes) it should be enough.
That's not entirely true IIUC - we are really starting pods on those SimpleKubelets there, so you have some data on nodes too.
from dashboard.
Nope. AFAICK It uses FakeDockerClient
, even simpler than one that Kubemarks one.
from dashboard.
I can take this. My concept is use something similar what is done in
installation script: https://get.k8s.io but use gulp a specially gulp-exec
to execute some commands for downloading, retrieving latest version and
creating cluster (./hack/local-up-cluster.sh). When cluster will be created
we can access to master node also using gulp-ssh. When this part will be
done then we can thing for other stuff like CI.
On Mon, Nov 2, 2015 at 4:29 PM, Marek Grabowski [email protected]
wrote:
Nope. AFAICK It uses FakeDockerClient, even simpler than one that
Kubemarks one.—
Reply to this email directly or view it on GitHub
#46 (comment)
.
from dashboard.
@zreigz Nice! I think all we need is access to the apiserver, e.g., its port and host like http://localhost:8080. With that the UI can connect to it and perform actions. No SSHing into nodes is needed.
from dashboard.
Ok, so first I will focus to set up cluster. When it will be ready then we
think about rest of it.
On Tue, Nov 3, 2015 at 8:18 AM, Piotr Bryk [email protected] wrote:
@zreigz https://github.com/zreigz Nice! I think all we need is access
to the apiserver, e.g., its port and host like http://localhost:8080.
With that the UI can connect to it and perform actions. No SSHing into
nodes is needed.—
Reply to this email directly or view it on GitHub
#46 (comment)
.
from dashboard.
Is the CI supposed to run against a local cluster or a real cluster?
from dashboard.
Yes, the CI is supposed to start a local cluster, then start the UI and finally perform integration tests on this environment. This yields in a reproducable build and test setup which can be used on CI and on developer's local machine. We want to get as productive as possible.
Connecting to an external ("real") cluster is, of course, doable. This may be, e.g., a staging cluster. We do not have resources to maintain such setup ATM, however.
from dashboard.
We've got pretty good setup for tests/dev now. I think we can close.
from dashboard.
Related Issues (20)
- What happened to the `--enable-skip-login` flag? HOT 2
- Dashboard Helm Chart incompatible with Traefik ingress controller HOT 2
- Helm chart Kong crashes in GKE HOT 5
- Helm values Affinity does not get applied to Kong Deployment HOT 2
- 🚨 Helm `metrics-server` Deployment uses `web` `env` HOT 3
- dashboard login page responds with Unknown error (200): Http failure during parsing for http://10.255.15.136:32260/api/v1/csrftoken/login HOT 9
- Failed to receive reply from UDP server xxx:timeout. HOT 4
- LoadBalancer service type HOT 4
- nginx: [emerg] socket() [::]:8100 failed (97: Address family not supported by protocol) HOT 3
- dashboard does not display CPU/ram metrics HOT 2
- How long is the Kubernetes Dashboard Token valid for HOT 5
- Bad Request (400): Empty token provided HOT 2
- The user interface for delete selects and highlights the default action as delete and should select cancel by default
- Path probing fails in presence of redirects HOT 6
- Kubernetes dashboard not list all namespaces on namespaces dropdown list HOT 4
- Helm Chart app.labels are not applied to all deployed resources
- Please add Timezone support to K8s Dashboard
- Can't access Kubernetes Dashboard from outside the cluster (VirtualBox host ) HOT 25
- Kubernetes-Dashboard on a sub-path with Istio HOT 1
- Issue deleting dashboard v2.7
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 dashboard.