mosadm renew-node
Description
mosadm renew-node renews the Kubernetes® internal cluster certificates for one year from the time of executing the
        command. After renewing the certificate, the renew-node command performs
        the following actions:
- Restart the Kubernetes static and default pods. 
- Remove the existing - ~/.kubefolder.
- Run the - ./mosadm merge-kube-configcommand to rebuild the- ~/.kubefolder and merge the cluster Kubernetes configuration (- /etc/kubernetes/admin.conf) into the user Kubernetes configuration (- ~/.kube/config).
You can use renew-node on single-node clusters only.
            sudo privileges are required.
mosadm renew-node  renews
        the node using the specified configuration options.option1 ... optionN
Note
mosadm renew-node requires sudo administration
            privileges.
Examples
sudo ./mosadm renew-nodeRemoving static pod manifests from /etc/kubernetes/manifests Waiting for 30s Copying static pod manifests to /etc/kubernetes/manifests Waiting for 30s Removing existing ~/.kube/config Proceed? Y/N Y Copying kube config to /.../.kube/config
Input Arguments
One or more configuration options, specified as strings corresponding to valid configuration options from this table.
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 renew-nodeto
                                                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 R2023a
See Also
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.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- 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)