{"componentChunkName":"component---src-templates-guides-js","path":"/en/guides/InstallGISCloudSuiteOnK3S/","result":{"data":{"markdownRemark":{"html":"<h2 id=\"install-gis-cloud-suite---k3s\"><a href=\"#install-gis-cloud-suite---k3s\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Install GIS Cloud Suite - K3S</h2>\n<p>This guide is used for quickly deploying GIS Cloud Suite on K3S by single machine. GIS Cloud Suite with K3S package is based on K3S. The introduce of K3S please refer to <a href=\"https://K3S.io\">K3S Official Website</a>.</p>\n<p>All the packages introduced below can be downloaded from the link:</p>\n<ul>\n<li><a href=\"https://pan.baidu.com/s/1lWLyyT1jAbADGuxEG3m4gA\">https://pan.baidu.com/s/1lWLyyT1jAbADGuxEG3m4gA</a>  Password: ge4d</li>\n</ul>\n<h3 id=\"requirement\"><a href=\"#requirement\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Requirement</h3>\n<ol>\n<li>Linux operating system(Recommend to use Ubuntu 18.04 or Ubuntu 16.04).</li>\n<li><code class=\"gatsby-code-text\">supermap-giscloudsuite-with-k3s-10.1.4-linux-x64.tar.gz</code> package.</li>\n<li>\n<p>System Requirements:</p>\n<ul>\n<li>Number of processors: 4 cores+</li>\n<li>Memory: 8 GB+</li>\n<li>Disk: 80 GB+</li>\n<li>The built-in environments need extra resources</li>\n</ul>\n</li>\n<li>\n<p>Images preparation(If you use Alibaba Cloud registry, skip this step)</p>\n<ul>\n<li><code class=\"gatsby-code-text\">supermap-giscloudsuite-registry-10.1.4-linux-x64.tar.gz</code></li>\n</ul>\n</li>\n</ol>\n<h3 id=\"install-image-registry\"><a href=\"#install-image-registry\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Install Image Registry</h3>\n<p>If you install GIS Cloud Suite on the extranet, skip this step and set Alibaba cloud registry.</p>\n<p>Before installing the image registry, execute the command <code class=\"gatsby-code-text\">sudo docker version</code> to make sure you have installed Docker.</p>\n<ol>\n<li>\n<p>Put the image package in any directory and unzip(If the name of your package is not the same as below, replace the package name in the command to your package name):</p>\n<div class=\"gatsby-highlight\" data-language=\"sh\"><pre class=\"gatsby-code-sh\"><code class=\"gatsby-code-sh\">tar -zxf supermap-giscloudsuite-registry-10.1.4-linux-x64.tar.gz</code></pre></div>\n</li>\n<li>\n<p>Enter the directory that you unzipped:</p>\n<div class=\"gatsby-highlight\" data-language=\"shell\"><pre class=\"gatsby-code-shell\"><code class=\"gatsby-code-shell\"><span class=\"token builtin class-name\">cd</span> supermap-giscloudsuite-docker-images</code></pre></div>\n</li>\n<li>\n<p>Install image repository:</p>\n<div class=\"gatsby-highlight\" data-language=\"shell\"><pre class=\"gatsby-code-shell\"><code class=\"gatsby-code-shell\"><span class=\"token function\">sudo</span> <span class=\"token function\">chmod</span> +x startup.sh  <span class=\"token operator\">&amp;&amp;</span> <span class=\"token function\">sudo</span> ./startup.sh</code></pre></div>\n</li>\n<li>\n<p>Verify. Execute the following command, if no error prompts, you have successful installed image registry. Replace the <code class=\"gatsby-code-text\">{ip}</code> below by the actual IP of your machine.</p>\n<div class=\"gatsby-highlight\" data-language=\"shell\"><pre class=\"gatsby-code-shell\"><code class=\"gatsby-code-shell\"><span class=\"token function\">sudo</span> docker pull <span class=\"token punctuation\">{</span>ip<span class=\"token punctuation\">}</span>:5000/supermap/adminer:4.6.3</code></pre></div>\n</li>\n</ol>\n<h3 id=\"install-gis-cloud-suite\"><a href=\"#install-gis-cloud-suite\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Install GIS Cloud Suite</h3>\n<p>You need to open the port of  “deploy_keycloak_port”(the port is 32221 by default), “deploy_gateway_port”(the port is 32222 by default), “deploy_bslicense_ui_port”(the port is 32223 by default) in the values.yaml file, and open the port 6443, 8443, 2049(open when using NFS for data storage), 8080, and 9100. If you use Alibaba Cloud ECS Server, add the ports to safety group rules. What is more, please make sure the port 3307 and 9183 is available.</p>\n<p>Execute all the following commands by root permission:</p>\n<ol>\n<li>\n<p>Unzip(If the name of your package is not the same as below, replace the package name in the command to your package name):</p>\n<div class=\"gatsby-highlight\" data-language=\"sh\"><pre class=\"gatsby-code-sh\"><code class=\"gatsby-code-sh\">tar -zxf supermap-giscloudsuite-with-k3s-10.1.4-linux-x64.tar.gz</code></pre></div>\n</li>\n<li>\n<p>Enter the ‘supermap-giscloudsuite-with-k3s’ directory, and execute:</p>\n<div class=\"gatsby-highlight\" data-language=\"shell\"><pre class=\"gatsby-code-shell\"><code class=\"gatsby-code-shell\"><span class=\"token function\">sudo</span>  <span class=\"token function\">vi</span> values.yaml</code></pre></div>\n<p>Modify the values.yaml file:</p>\n<blockquote>\n<p>Notes:</p>\n<ol>\n<li>The following configuration could only be set before starting, if you need any change, please execute ‘./startup.sh’ after modifying.  </li>\n<li>The configuration have default values, do not delete any configuration when modifying.</li>\n<li>The “Required” variables need to be modified by your actual environment. The “Optional” variables can keep in default, please do not delete the default values.</li>\n</ol>\n</blockquote>\n<div class=\"gatsby-highlight\" data-language=\"yaml\"><pre class=\"gatsby-code-yaml\"><code class=\"gatsby-code-yaml\"> <span class=\"token comment\"># Required. The GIS Cloud Suite image registry address, used for pulling images. The address is Alibaba cloud registry by default: registry.cn-beijing.aliyuncs.com. If you install GIS Cloud Suite on the extranet, keep in default.</span>\n <span class=\"token comment\"># If you install GIS Cloud Suite on the intranet, please refer to Install GIS Cloud Suite Image Registry above to install the registry, and fill the blank by the format &lt;IP>:5000. Replace &lt;IP> by the machine IP which you were installed registry on, for example, 192.168.17.110:5000.</span>\n <span class=\"token key atrule\">deploy_registry</span><span class=\"token punctuation\">:</span> registry.cn<span class=\"token punctuation\">-</span>beijing.aliyuncs.com\n\n <span class=\"token comment\"># Required. The IP of the K3s installation machine. For example, 192.168.17.110. </span>\n <span class=\"token key atrule\">deploy_kubernetes_public_ip</span><span class=\"token punctuation\">:</span>\n\n <span class=\"token comment\"># Required. The administrator account name, used for logging GIS Cloud Suite, the account name is admin by default, modify the account name by your requirement.</span>\n <span class=\"token key atrule\">deploy_ispeco_user_name</span><span class=\"token punctuation\">:</span> user_admin\n\n <span class=\"token comment\"># Required. The administrator account password, used for logging GIS Cloud Suite, the account password is admin by default, modify the account password by your requirement.</span>\n <span class=\"token key atrule\">deploy_ispeco_password</span><span class=\"token punctuation\">:</span> iserver\n\n <span class=\"token comment\"># Optional. Your NFS Server address, NFS Server is used for storing the data of GIS Cloud Suite, recommended to set, the address could be IP or domain name. For example: 192.168.17.150.</span>\n <span class=\"token comment\"># If you are going to configure NFS Server, please install NFS Client on your machine first.</span>\n <span class=\"token key atrule\">deploy_nfs_server</span><span class=\"token punctuation\">:</span>\n\n <span class=\"token comment\"># Optional. The path of NFS server, the default path is /. If you do not configure a NFS, the default data volume is hostPath, located on /opt/giscloudsuite directory.</span>\n <span class=\"token key atrule\">deploy_nfs_path</span><span class=\"token punctuation\">:</span> /\n\n <span class=\"token comment\"># Optional. The URL of K3s master node. The value is https://kubernetes.default.svc by default, keep in default.</span>\n <span class=\"token key atrule\">deploy_kubernetes_master_url</span><span class=\"token punctuation\">:</span> https<span class=\"token punctuation\">:</span>//kubernetes.default.svc\n\n <span class=\"token comment\"># Optional. The service protocol of image repository，fills in [http|https], the value is http by default. If you use the image registry that installed by SuperMap image package, change the value to http.</span>\n <span class=\"token key atrule\">deploy_registry_protocol</span><span class=\"token punctuation\">:</span> https\n\n <span class=\"token comment\"># Optional. The name of your StorageClass, used for storing the data of GIS Cloud Suite. StorageClass and NFS Server(deploy_nfs_server) are used for storing GIS Cloud Suite data, if you configured both of them, the data will be stored in NFS Server.</span>\n <span class=\"token key atrule\">deploy_storage_class_name</span><span class=\"token punctuation\">:</span>\n\n <span class=\"token comment\"># Optional. The K3s namespace, the value is giscloudsuite by default, you can define a name by your requirement.</span>\n <span class=\"token key atrule\">deploy_namespace</span><span class=\"token punctuation\">:</span> giscloudsuite\n\n <span class=\"token comment\"># Optional. The service protocol of GIS Cloud Suite，fills in [http|https], the value is http by default.</span>\n <span class=\"token key atrule\">deploy_service_protocol</span><span class=\"token punctuation\">:</span> http\n\n <span class=\"token comment\"># Optional. The image pull policy, choose one of these:[Always|Never|IfNotPresent], the value is IfNotPresent by default.</span>\n <span class=\"token comment\"># Always: Pull the latest images from registry.</span>\n <span class=\"token comment\"># Never: Use local images and nerver pull the images from registry.</span>\n <span class=\"token comment\"># IfNotPresent: Use local images first. If local images are unavailable, pull the images from registry.</span>\n <span class=\"token key atrule\">deploy_image_pull_policy</span><span class=\"token punctuation\">:</span> IfNotPresent\n\n <span class=\"token comment\"># Optional. The image pull secret, used for identity authentication when pulling private images. You need to create a resource with the same name as the Secret in the namespace of Kubernetes. Please refer GIS Cloud Suite > Appendix > FAQ Question 12 to see how to create the resource.</span>\n <span class=\"token key atrule\">deploy_image_pull_secret</span><span class=\"token punctuation\">:</span>\n\n <span class=\"token comment\"># Optional. The name of namespace which stores images in registry, the default name is 'supermap', you can define the name by the requirement.</span>\n <span class=\"token key atrule\">deploy_image_namespace</span><span class=\"token punctuation\">:</span> supermap\n\n <span class=\"token comment\"># Optional. The service type of Keycloak, fills in [NodePort|LoadBalancer], generally keep in default. </span>\n <span class=\"token key atrule\">deploy_keycloak_service_type</span><span class=\"token punctuation\">:</span> NodePort\n\n <span class=\"token comment\"># Optional. The number of CPUs of a service in GIS Cloud Suite, the number is 1 by default.</span>\n <span class=\"token key atrule\">deploy_cpu_limit</span><span class=\"token punctuation\">:</span> <span class=\"token number\">1</span>\n\n <span class=\"token comment\"># Optional. The memory of a service in GIS Cloud Suite, the memory should be larger than or equal to 4Gi, the memory is 4Gi by default.</span>\n <span class=\"token key atrule\">deploy_memory_limit</span><span class=\"token punctuation\">:</span> 4Gi\n\n <span class=\"token comment\"># Optional. The image tag of iserver_gisapplication.</span>\n <span class=\"token key atrule\">deploy_gis_app_tag</span><span class=\"token punctuation\">:</span> 10.1.4\n\n <span class=\"token comment\"># Optional. The image tag of iserver_gisapplication in GIS Cloud Suite.</span>\n <span class=\"token key atrule\">deploy_image_tag</span><span class=\"token punctuation\">:</span> 10.1.4\n\n <span class=\"token comment\"># Optional. The port of Keycloak UI, select the range between 30000-32767, except 31234, the default is 32221. If you define a port, make sure the port is different to others port setting.</span>\n <span class=\"token key atrule\">deploy_keycloak_port</span><span class=\"token punctuation\">:</span> <span class=\"token number\">32221</span>\n\n <span class=\"token comment\"># Optional. The port of GIS Cloud Suite UI, select the range between 30000-32767, except 31234, the default is 32222. If you define a port, make sure the port is different to others port setting.</span>\n <span class=\"token key atrule\">deploy_gateway_port</span><span class=\"token punctuation\">:</span> <span class=\"token number\">32222</span>\n\n <span class=\"token comment\"># Optional. The port of license center, select the range between 30000-32767, except 31234, the default is 32223. If you define a port, make sure the port is different to others port setting.</span>\n <span class=\"token key atrule\">deploy_bslicense_ui_port</span><span class=\"token punctuation\">:</span> <span class=\"token number\">32223</span>\n\n <span class=\"token comment\"># Optional. Whether to disable iPortal, fills in [true|false], the value is true by default.</span>\n <span class=\"token comment\"># true: Disable iPortal.</span>\n <span class=\"token comment\"># false: Do not disable iPortal</span>\n <span class=\"token key atrule\">deploy_disable_iportal</span><span class=\"token punctuation\">:</span> <span class=\"token boolean important\">true</span>\n\n <span class=\"token comment\"># Optional. Whether the license center is going to disable local storage, fills in [true|false], the value is false by default. When the value is true, you must configure either deploy_nfs_server or default_storage_class_name.</span>\n <span class=\"token comment\"># true: License center do not use local storage.</span>\n <span class=\"token comment\"># false: License center use local storage.</span>\n <span class=\"token key atrule\">deploy_disable_bslicense_local_volume</span><span class=\"token punctuation\">:</span> <span class=\"token boolean important\">false</span>\n\n <span class=\"token comment\"># Optional. HBase capability optimization, fills in [true|false]. If you would not use HBase environment, keep in default. If you want to optimize built-in HBase, set the value to true, and see Question 15 in GIS Cloud Suite > Appendix > FAQ to create PV.</span>\n <span class=\"token key atrule\">deploy_disable_hbase_nfs_volume</span><span class=\"token punctuation\">:</span> <span class=\"token boolean important\">false</span>\n\n <span class=\"token comment\"># Optional. The Kubernetes node IP which is mapped by GIS Cloud Suite domain name(the IP that configured in DNS Server), required to configure if your GIS Cloud Suite has a domain name. The value is using the first Kubernetes node IP by default.</span>\n <span class=\"token key atrule\">deploy_domain_ip</span><span class=\"token punctuation\">:</span>\n\n <span class=\"token comment\"># Optional. The domain name of GIS Cloud Suite, for example, imanager.iservergateway.com. Visit GIS Cloud Suite by IP:PORT if you do not configure domain name.</span>\n <span class=\"token key atrule\">deploy_gateway_domain</span><span class=\"token punctuation\">:</span>\n\n <span class=\"token comment\"># Optional. The directory which to store the certificate of GIS Cloud Suite domain name. Take effect only if configured GIS Cloud Suite domain name(deploy_gateway_domain). The directory of certificate should be the same as values.yaml file. Fill in the relative path. such as: gateway/tls.crt.</span>\n <span class=\"token key atrule\">deploy_gateway_certificate_path</span><span class=\"token punctuation\">:</span>\n\n <span class=\"token comment\"># Optional. The directory which to store the private key of GIS Cloud Suite domain name. Take effect only if configured GIS Cloud Suite domain name(deploy_gateway_domain). The directory of private key should be the same as values.yaml file. Fill in the relative path, such as: gateway/tls.key.</span>\n <span class=\"token key atrule\">deploy_gateway_private_key_path</span><span class=\"token punctuation\">:</span>\n\n <span class=\"token comment\"># Optional. The domain name of Keycloak, such as: imanager.keycloak.com. Visit Keycloak by IP:PORT if you do not configure a domain name.</span>\n <span class=\"token key atrule\">deploy_keycloak_domain</span><span class=\"token punctuation\">:</span>\n\n <span class=\"token comment\"># Optional. The directory which to store the certificate of Keycloak domain name. Take effect only if configured GIS Cloud Suite domain name(deploy_gateway_domain).  The directory of the certificate should be the same as values.yaml file. Fill in the relative path, such as: keycloak/tls.crt.</span>\n <span class=\"token key atrule\">deploy_keycloak_certificate_path</span><span class=\"token punctuation\">:</span>\n\n <span class=\"token comment\"># Optional. The directory which to store the private key of Keycloak domain name. Take effect only if configured GIS Cloud Suite domain name(deploy_gateway_domain). The directory of the private key should be the same as values.yaml file. Fill in the relative path, such as: keycloak/tls.key.</span>\n <span class=\"token key atrule\">deploy_keycloak_private_key_path</span><span class=\"token punctuation\">:</span>\n\n <span class=\"token comment\"># Optional. The time zone of the system. Fill in the relative path in the directory /usr/share/zoneinfo/, such as Asia/Shanghai and America/New_York.</span>\n <span class=\"token key atrule\">deploy_timezone</span><span class=\"token punctuation\">:</span> Asia/Shanghai\n\n <span class=\"token comment\"># Optional. Disable metrics server or not, metrics server is used for monitoring the resources of Kubernetes, fills in [true|false]. The value is false by default.</span>\n <span class=\"token comment\"># true: Disable the metrics server.</span>\n <span class=\"token comment\"># false: Do not disable metrics server.</span>\n <span class=\"token key atrule\">deploy_disable_metrics_server</span><span class=\"token punctuation\">:</span> <span class=\"token boolean important\">false</span></code></pre></div>\n<p>Save and quit the file.</p>\n</li>\n<li>\n<p>Install:</p>\n<p>Execute all the commands with root permission:</p>\n<div class=\"gatsby-highlight\" data-language=\"sh\"><pre class=\"gatsby-code-sh\"><code class=\"gatsby-code-sh\">chmod +x startup.sh &amp;&amp; ./startup.sh</code></pre></div>\n<p>When you execute startup.sh script, the registry address and protocol will update automatically. The system will ask you to confirm the IP, the IP can be accessed from outside.</p>\n<p>After installing, visit the GIS Cloud Suite UI by <code class=\"gatsby-code-text\">http://{ip}:32222</code>, visit the SuperMap License Center UI by <code class=\"gatsby-code-text\">http://{ip}:32223</code>. <code class=\"gatsby-code-text\">{ip}</code>: the IP of K3S machine. If the value of <code class=\"gatsby-code-text\">deploy_service_protocol</code> is <code class=\"gatsby-code-text\">https</code>, the access address should be <code class=\"gatsby-code-text\">https://{ip}:32222</code> and <code class=\"gatsby-code-text\">https://{ip}:32223</code>.</p>\n<p>Refer to the settings of values.yaml file to see the username and password.</p>\n</li>\n<li>\n<p>Activate License</p>\n<p>Visit the SuperMap License Center UI, click on <strong>Update</strong> on the License Center page, and follow the <strong>Operation Steps</strong> to activate the license (If you do not have the license, please apply the trial license on SuperMap official website).</p>\n<p>\n  <a\n    class=\"gatsby-resp-image-link\"\n    href=\"/iManager_K8S/1014/static/839ea45bd2c6a3a90976bbc56137ac75/86a1e/activatelicenseen.png\"\n    style=\"display: block\"\n    target=\"_blank\"\n    rel=\"noopener\"\n  >\n  \n  <span\n    class=\"gatsby-resp-image-wrapper\"\n    style=\"position: relative; display: block;  max-width: 840px; margin-left: auto; margin-right: auto;\"\n  >\n    <span\n      class=\"gatsby-resp-image-background-image\"\n      style=\"padding-bottom: 62.38095238095238%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAMCAIAAADtbgqsAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABTUlEQVQoz22S3W7DIAyFeZZCAGMDcUi3qVVvdldp0u53M2nvsXffIWmn9OcTiRxijs0BM49yaJUpEKUIiOqoIYTdbjc8w3vPwiumfvy8ff+W07mNRVVzzm3/KrnUWiBhrXUPQHedN/r+OZ2/ZH/MwqUUFkmJoIoYQmsFQlcp8S2YNORdTYEpumFw197ywuAuExDCYufc3RYMklQn7DUE34cf8K61ZhFsLyyUUuFGuAV/+2Kk9j6kpNJSnTlXXpqULGsLPRahWyBn8KClURVrbMyWsvMhXrTDtqDdsHpmuvWooTOJ2pAoBpRdjgwm3RVLWyBn4AIn0v2R2ilMhz5i9Av/NePCJbh+dsPgITR1am1+afMeY9JOa22a2va07nroi1EBMjhkeEJcMBJuED5TNwkBUpFjH+iXZJFBZvapOFbPlTiv2+6WJ0bw9J6BPzP2dXVm0zz+AAAAAElFTkSuQmCC'); background-size: cover; display: block;\"\n    >\n      <img\n        class=\"gatsby-resp-image-image\"\n        style=\"width: 100%; height: 100%; margin: 0; vertical-align: middle; position: absolute; top: 0; left: 0; box-shadow: inset 0px 0px 0px 400px white;\"\n        alt=\"activatelicense\"\n        title=\"\"\n        src=\"/iManager_K8S/1014/static/839ea45bd2c6a3a90976bbc56137ac75/1e088/activatelicenseen.png\"\n        srcset=\"/iManager_K8S/1014/static/839ea45bd2c6a3a90976bbc56137ac75/65ed1/activatelicenseen.png 210w,\n/iManager_K8S/1014/static/839ea45bd2c6a3a90976bbc56137ac75/d10fb/activatelicenseen.png 420w,\n/iManager_K8S/1014/static/839ea45bd2c6a3a90976bbc56137ac75/1e088/activatelicenseen.png 840w,\n/iManager_K8S/1014/static/839ea45bd2c6a3a90976bbc56137ac75/78612/activatelicenseen.png 1260w,\n/iManager_K8S/1014/static/839ea45bd2c6a3a90976bbc56137ac75/86a1e/activatelicenseen.png 1296w\"\n        sizes=\"(max-width: 840px) 100vw, 840px\"\n      />\n    </span>\n  </span>\n  \n  </a>\n    </p>\n<p>Check the <strong>License Status</strong> after activating the license.</p>\n<p>\n  <a\n    class=\"gatsby-resp-image-link\"\n    href=\"/iManager_K8S/1014/static/a14123503967c23a7e21c52b4285161a/d6a46/licensestatus1en.png\"\n    style=\"display: block\"\n    target=\"_blank\"\n    rel=\"noopener\"\n  >\n  \n  <span\n    class=\"gatsby-resp-image-wrapper\"\n    style=\"position: relative; display: block;  max-width: 840px; margin-left: auto; margin-right: auto;\"\n  >\n    <span\n      class=\"gatsby-resp-image-background-image\"\n      style=\"padding-bottom: 76.66666666666666%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAPCAIAAABr+ngCAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABYklEQVQoz3WSC27DIBBEuUri1MawfMzHllrl/tfqA9qodZKVhdawszszoEopx77HEK7X6+VyYb31mKbp41V4720PErWuawjBiYQQv+73/Tg4MNayOVqcAjz7rMuyKIq2GJ1zYcvl+Ez1cN6LCI2NMev74FSllKjjh3mBzAm7nZfQkS7mN+xTKK01yGWZTSNrIWNW48SxTz2/uDC9CcWEbdsoRQmlyPQ9aDc0396HssbAnOG4MFo0qPPSWYwJD+fOYNNNB4yB8zyzohO1w1XwetHjkshP19Y041Po3pIPkdggYmnFStB0+E/yn7aVWiuyeS0k3Bz06NKudJ4fhtEfOifmioE5Z8AoT1uKMbKrm3PtJegum9y1ELSfwSWXH3DK3Txk/gF3AB6+ACMJth0Hg1xqoQ7aw7/BnzrkoPlMG/C+V2C06LLL2m0bfg4wkH737hkse21gpvJBYWA4e0wG8nLyN95hj66nh4qrAAAAAElFTkSuQmCC'); background-size: cover; display: block;\"\n    >\n      <img\n        class=\"gatsby-resp-image-image\"\n        style=\"width: 100%; height: 100%; margin: 0; vertical-align: middle; position: absolute; top: 0; left: 0; box-shadow: inset 0px 0px 0px 400px white;\"\n        alt=\"licensestatus1\"\n        title=\"\"\n        src=\"/iManager_K8S/1014/static/a14123503967c23a7e21c52b4285161a/1e088/licensestatus1en.png\"\n        srcset=\"/iManager_K8S/1014/static/a14123503967c23a7e21c52b4285161a/65ed1/licensestatus1en.png 210w,\n/iManager_K8S/1014/static/a14123503967c23a7e21c52b4285161a/d10fb/licensestatus1en.png 420w,\n/iManager_K8S/1014/static/a14123503967c23a7e21c52b4285161a/1e088/licensestatus1en.png 840w,\n/iManager_K8S/1014/static/a14123503967c23a7e21c52b4285161a/d6a46/licensestatus1en.png 1008w\"\n        sizes=\"(max-width: 840px) 100vw, 840px\"\n      />\n    </span>\n  </span>\n  \n  </a>\n    </p>\n</li>\n</ol>\n<h3 id=\"appendix\"><a href=\"#appendix\" aria-hidden class=\"anchor\"><svg aria-hidden=\"true\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Appendix</h3>\n<ol>\n<li>\n<p>Adds or modifies http registry to K3S</p>\n<p>Edit ‘/var/lib/rancher/K3S/agent/etc/containerd/config.toml.tmpl’</p>\n<p>If the file is not existing, execute the command:</p>\n<div class=\"gatsby-highlight\" data-language=\"sh\"><pre class=\"gatsby-code-sh\"><code class=\"gatsby-code-sh\">cp /var/lib/rancher/K3S/agent/etc/containerd/config.toml /var/lib/rancher/K3S/agent/etc/containerd/config.toml.tmpl</code></pre></div>\n<p>Find the variable ‘plugins.cri.registry’, and modify it by the actual value(replace registry.ispeco.com by your address)</p>\n<div class=\"gatsby-highlight\" data-language=\"sh\"><pre class=\"gatsby-code-sh\"><code class=\"gatsby-code-sh\">[plugins.cri.registry]\n [plugins.cri.registry.mirrors]\n   [plugins.cri.registry.mirrors.&quot;registry.ispeco.com&quot;]\n     endpoint = [&quot;http://registry.ispeco.com&quot;]</code></pre></div>\n<p>If you have multiple registries, you can continue to add ‘plugins.cri.registry.mirrors.xxx’. Here we use 192.168.17.150:5001 registry as an example.</p>\n<div class=\"gatsby-highlight\" data-language=\"sh\"><pre class=\"gatsby-code-sh\"><code class=\"gatsby-code-sh\">[plugins.cri.registry]\n [plugins.cri.registry.mirrors]\n   [plugins.cri.registry.mirrors.&quot;registry.ispeco.com&quot;]\n     endpoint = [&quot;http://registry.ispeco.com&quot;]\n   [plugins.cri.registry.mirrors.&quot;192.168.17.150:5001&quot;]\n     endpoint = [&quot;http://192.168.17.150:5001&quot;]</code></pre></div>\n<p>Restart K3S after modifying.</p>\n<div class=\"gatsby-highlight\" data-language=\"sh\"><pre class=\"gatsby-code-sh\"><code class=\"gatsby-code-sh\">systemctl restart K3S</code></pre></div>\n</li>\n<li>\n<p>If you want to delete GIS Cloud Suite environment, execute:</p>\n<div class=\"gatsby-highlight\" data-language=\"sh\"><pre class=\"gatsby-code-sh\"><code class=\"gatsby-code-sh\">chmod +x shutdown.sh &amp;&amp; ./shutdown.sh</code></pre></div>\n<p>If you want to completely delete GIS Cloud Suite environment, execute:</p>\n<div class=\"gatsby-highlight\" data-language=\"sh\"><pre class=\"gatsby-code-sh\"><code class=\"gatsby-code-sh\">chmod +x shutdown.sh &amp;&amp; ./shutdown.sh -v</code></pre></div>\n</li>\n<li>\n<p>Uninstall K3S environment.</p>\n<p>Execute the following command under the directory of system task to uninstall K3S environment, this command will delete all the related data, includes images and configurations.</p>\n<div class=\"gatsby-highlight\" data-language=\"sh\"><pre class=\"gatsby-code-sh\"><code class=\"gatsby-code-sh\">K3S-uninstall.sh</code></pre></div>\n</li>\n<li>\n<p>The access addresses of the basic services(<code class=\"gatsby-code-text\">{ip}</code>: the IP of K3S machine):</p>\n<table>\n<tr class=\"t1st\">\n  <th>Service </th>\n  <th>Address</th>\n</tr>\n<tr class=\"t2Row\">\n  <td>GIS Cloud Suite</td>\n  <td>http://{ip}:32222 or https://{ip}:32222</td>\n</tr>\n<tr class=\"t1Row\">\n  <td>SuperMap License Center</td>\n  <td>http://{ip}:32223 or https://{ip}:32223</td>\n</tr>\n</table>\n</li>\n</ol>","frontmatter":{"title":"Guides","next":null,"prev":null},"fields":{"path":"content/guides/InstallGISCloudSuiteOnK3S.en.md","slug":"/en/guides/InstallGISCloudSuiteOnK3S/","langKey":"en"}}},"pageContext":{"slug":"/en/guides/InstallGISCloudSuiteOnK3S/"}}}