mosadm deploy
Deploy MATLAB Online Server services to Kubernetes cluster
Description
mosadm deploy deploys all MATLAB®
            Online Server™ services that have override charts into the Kubernetes® cluster for the server.
mosadm deploy  deploys only the
        specified service.serviceName
mosadm deploy [
        deploys services using the specified configuration options and either of the previous
        syntaxes.serviceName] option1 ... optionN
Examples
./mosadm deployCluster name matlab-online-server Cluster namespace mathworks Charts dir /.../matlab_online_server/charts Overrides dir /.../matlab_online_server/overrides Successfully installed release: mathworks-authnz Successfully installed release: mathworks-core-ui Successfully installed release: mathworks-gateway Successfully installed release: mathworks-license Successfully installed release: mathworks-matlab-pool Successfully installed release: mathworks-namespace Successfully installed release: mathworks-resource
Deploy the MATLAB pool service.
./mosadm deploy matlab-poolCluster name matlab-online-server Cluster namespace mathworks Charts dir /.../matlab_online_server/charts Overrides dir /.../matlab_online_server/overrides Successfully installed release: mathworks-matlab-pool
Input Arguments
Name of service, specified as one of the options in this table.
| Name | Description | 
|---|---|
| authnz | Authenticates and authorizes actions of MATLAB Online Server users and some MATLAB Online Server components | 
| core-ui | Configures the login screen and other UI elements | 
| gateway | Maps MATLAB Online Server clients to their assigned MATLAB instances | 
| license | Communicates with MathWorks® License Manager to check for MATLAB Online Server licenses | 
| matlab-pool | Configures settings for MATLAB instances running in MATLAB Online Server | 
| namespace | Configures the namespace used for a MATLAB Online Server deployment | 
| nginx-ingress | Configure the NGINX Ingress controller, which acts as a load balancer for MATLAB Online Server | 
| resource | Maintains information on all MATLAB instances | 
One or more configuration options, specified as strings corresponding to valid configuration options from these tables.
Specific to mosadm deploy
            | Option | Description | 
|---|---|
| 
 | If a service with the name
                             | 
| --set-string  | YAML configuration values to deploy to the server, specified as a comma-separated list
            of  
 If you have many YAML configuration values to deploy, consider
            specifying them in a YAML file and deploying them using the  
 Use  Example: This command deploys a
                 
 | 
| --set-file  | Files to deploy to the server, specified as a comma-separated list of
                     
 Use  Example: This command deploys a PNG
            file to the server and makes it available to the  
 | 
| --values  | YAML file containing configuration values that you want to deploy to the server.  Specify  To deploy multiple YAML files, specify multiple
                 
 
 Example:
                 | 
| 
 | Skip checking whether the specified namespace exists. | 
Common to All mosadm Commands
| Option | Description | 
|---|---|
| 
 | Name of the MATLAB
            Online Server
                                                   
                                                  Specify
                                                   Example:
                                                   Default:
                                                   | 
| 
 | Name of the MATLAB
            Online Server
                                                   Specify
                                                   Example:
                                                   Default:
                                                   | 
| 
 | Print out the commands that would have run without this option specified but do not run the operation. Specify this option to test that the operation produces the expected results before actually executing it. | 
| 
 | Output help for mosadm deployto
                                                the command line. | 
| 
 | Path to the Kubernetes cluster configuration file. Specify
                                                   Example:
                                                   By
                                                  default,
                                                   | 
| 
 | MATLAB
            Online Server root folder, specified as an
                                                  absolute path or a path relative to the current
                                                  folder, that is, the folder in which you can run
                                                   Default:  | 
| 
 | Name of the MATLAB
            Online Server
                                                    Specify
                                                   Example:
                                                   Default:
                                                   | 
| 
 | Print only the most useful or relevant output
                                                  from the  | 
| --skip-log-file | Skip creating the
                                                   | 
| --skip-prompt, -y | Force acceptance of the terms of use for the
                                                   | 
| --tmp-dir
                                                   | Name of MATLAB Online Server temporary folder to use.  Specify
                                                   By default,
                                                   | 
| --verbose | Output extra details about the
                                                   | 
Version History
Introduced in R2020a
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.
Americhe
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)