Comments (2)
Hi @mikeshng
Wonder if we should not take a example from https://kubernetes.io/docs/tutorials/ but it is up to you.
I also wonder if the sample-app not be part of the -h , I don't know how much a app
can be templated but for me a sample should be part of the documentation or located in a repo, with a repo the user could do:
clusteradm install app <my_app_name> --repo-url <location of the repo> --values <custom_value>
The repo-url
could be a github, ftp, files.... to basically the clusteradm template which are currently in the clusteradm binary will be in this case in an external repo.
So I would add that sample in a shared repo that end-user can look at and use it.
from clusteradm.
Based on discussion with @itdove
clusteradm create app --sample
will install the sample app that is a Helm ngix deployment to all managed clusters.
clusteradm create app --sample --dry-run --output-file /path/to/files
will generate the yamls.
in the future, not to be contained in this issue, other full blown param options that are not sample related.
clusteradm create app --repo-type <type of repo> --repo-url <location of the repo> --clusters <list of clusters>
from clusteradm.
Related Issues (20)
- no CSR to approve for cluster cluster1 HOT 2
- [Umbrella Issue] support start multicluster-controlplane HOT 3
- Failed to apply manifest: manifestworks.work.open-cluster-management.io "example-manifestwork" is forbidden: User "system:serviceaccount:open-cluster-management-agent:klusterlet-work-sa" HOT 2
- clusteradm join fails with "Error: unexpected watch event received" HOT 3
- no command to remove addon application-manager in hub cluster HOT 2
- clusteradm addon enable does not do any validation or warning about unknown addons HOT 3
- Misleading preflight error message HOT 3
- proxy subcommand doesn't work for the latest cluster-proxy HOT 3
- clusteradm get klusterlet-info fails even with managed cluster context HOT 4
- support install template type addon with clusteradm HOT 3
- clusteradm join for hosted mode does not work HOT 3
- bug report: create more than 1 klusterlet for same managed cluster HOT 1
- clusteradm init failed HOT 3
- join and accept allow duplicate cluster-name HOT 4
- clusteradm init does not respect the --kubeconfig flag HOT 1
- Support proxy settings between hub and managed cluster HOT 2
- clusteradm proxy kubectl does not allow multiple clusters HOT 1
- clusteradm proxy kubectl does not work HOT 1
- Support join cluster with auto-approve HOT 4
- Re-init doesn't work well HOT 3
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 clusteradm.