Version 1.0 Preview
Last Updated 30th September 2019
Usage: hyscale deploy service [OPTIONS]
Deploy an application service
Options:
-f, --file string service spec file `<serviceName>.hspec`. Can be repeated for multiple service deployment.
-n, --namespace string name of namespace `<nameSpace>`
-a, --application string Application Name
-v --verbose `Optional` verbose modeTo deploy an application service which is defined in the hspec file, use the "deploy" command. The command requires hspec file, Kubernetes namespace and the application name as inputs. Multiple hspec files (-f <serviceName1>.hspec -f <serviceName2>.hspec <serviceNameN>.hspec) can be provided to deploy multiple services.
Usage: hyscale get service status [OPTIONS]
Status of an Application Service.
Options:
-s --service string name of service `<serviceName>`
-n --namespace string name of namespace `<nameSpace>`
-a --application string name of application `<applicationName>` To get the status of a particular deployed service, use the "get service status". The command requires the service name , Kubernetes namespace and application name as inputs. Multiple service names (-s <serviceName1> -s <serviceName2> -s <serviceNameN>) can be provided to get status of multiple services.
Usage: hyscale get service logs [OPTIONS]
Logs of an application Service
Options:
-s --service string name of service `<serviceName>`
-n --namespace string name of namespace `<nameSpace>`
-a --application string name of application `<applicationName>`
-l --lines int `Optional` output the last given lines
-t --tail `Optional` follow the logsTo get the stdout logs of the deployed service , use the "get service logs" command as below. The command requires servicename, Kubernetes namespace and the application name as inputs. The command can tail the logs with the specified number of lines using -t and -l options to the command.
Usage: hyscale undeploy service [OPTIONS]
Undeploy an existing deployed application service.
Options:
-s --service string name of service `<serviceName>`
-n --namespace string name of namespace `<nameSpace>`
-a --application string name of application `<applicationName>`To undeploy a particular application service which was deployed by HyScale, use the "undeploy service" command. The undeploy command requires the service name , Kubernetes namespace and the application name as inputs. Multiple service names (-s <serviceName1> -s <serviceName2> -s <serviceNameN>) can be provided to undeploy multiple services.
Usage: hyscale undeploy app [OPTIONS]
Undeploy an existing deployed application.
Options:
-n --namespace string name of namespace `<nameSpace>`
-a --application string name of application `<applicationName>`HyScale deletes all the services of an application using the "undeploy app" command. The command requires the Kubernetes namespace and the application name as inputs.
Usage: hyscale generate service manifests [OPTIONS]
Generate kubernetes manifests for the specified services.
Options:
-f, --file string service spec file `<serviceName>.hspec`. Can be repeated for multiple service specifications.
-n --namespace string name of namespace `<nameSpace>`
-a --application string name of application `<applicationName>`HyScale abstracts the generation of Kubernetes manifests for deployments, however a user can generate the Kubernetes manifests without deployment using the "generate service manifests" command. The command requires service name , Kubernetes namespace and the application name as inputs. Multiple service names (-f <serviceName1>.hspec -f <serviceName2>.hspec <serviceNameN>.hspec) can be provided to generate Kubernetes manifests for multiple services.
Usage: hyscale get app status [OPTIONS]
Status of Deployed Application.
Options:
-n --namespace string name of namespace `<nameSpace>`
-a --application string name of application `<applicationName>`To get the status of all the deployed services in an application , use the "get app status". The command requires the Kubernetes namespace and application name as inputs.
-f <serviceName>.hspec
HyScale Service Spec file where file name should be same as service name mentioned inside spec. This is the name with which service by default gets deployed. To know how to write service spec click here.
-n <nameSpace>
Kubernetes namespace where service is deployed. namespace acts like an isolation for your application services. Generally namespace is used for describing application environments (like QA, STAGE, UAT etc..). If namespace is not present, hyscale will create one with the given name provided kubeconfig permissions.
-a <applicationName>
Logical grouping of services together with a given application name. You can give any name for application of your choice.