Coder Social home page Coder Social logo

Comments (2)

itdove avatar itdove commented on August 22, 2024

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.

mikeshng avatar mikeshng commented on August 22, 2024

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)

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.