{"componentChunkName":"component---src-templates-topics-js","path":"/en/topics/grayrelease/","result":{"data":{"markdownRemark":{"html":"<h2 id=\"gray-release\"><a href=\"#gray-release\" 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>Gray Release</h2>\n<p>The content below is going to introduce how to achieve gray release in iManager, we use ispeco-dashboard-api service as an example.</p>\n<ol>\n<li>Log in to SuperMap iManager, clicks on <strong>Site Management > Create</strong> on the left navigation bar.</li>\n<li>\n<p>Fill in ‘Best Practice’ as the <strong>Site name</strong>, select ‘GIS Cloud Suite’ as the <strong>Site type</strong>, click on <strong>OK</strong> to create the site.</p>\n<p>\n  <a\n    class=\"gatsby-resp-image-link\"\n    href=\"/iManager_K8S/1014/static/bc0964c6e2cf405b0c65455ad8f12baa/1b853/creategiscloudsuiteen.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: 592px; margin-left: auto; margin-right: auto;\"\n  >\n    <span\n      class=\"gatsby-resp-image-background-image\"\n      style=\"padding-bottom: 41.42857142857143%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAICAIAAAB2/0i6AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA10lEQVQY04WQWW4CMRBE5xD5QCgQ7zbexjN8zULMKbgA3CDKGRDXyElTZuADiYFnqSW3VV3VroQQnPONUnVKdZ2MMeO4+y7kVDrPiTEqpSqIJRDCbgpoQbO942cIIRQxbBljqMF7GBltur7POe/zfhiGOeemabTWFXLiEmJAEuc85kmpKKWEkGnoHIhcKaUh86EcoKXkZMXJGm8Qi5fcYrOrCyNf3KXu9297uiBJ1/VY75V4+jAhrxVhbGiP53j4cc62TWutfSN+gDO6/GCfCySilE27zfEPeQ1OZn6eubwAAAAASUVORK5CYII='); 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=\"creategiscloudsuite\"\n        title=\"\"\n        src=\"/iManager_K8S/1014/static/bc0964c6e2cf405b0c65455ad8f12baa/1b853/creategiscloudsuiteen.png\"\n        srcset=\"/iManager_K8S/1014/static/bc0964c6e2cf405b0c65455ad8f12baa/65ed1/creategiscloudsuiteen.png 210w,\n/iManager_K8S/1014/static/bc0964c6e2cf405b0c65455ad8f12baa/d10fb/creategiscloudsuiteen.png 420w,\n/iManager_K8S/1014/static/bc0964c6e2cf405b0c65455ad8f12baa/1b853/creategiscloudsuiteen.png 592w\"\n        sizes=\"(max-width: 592px) 100vw, 592px\"\n      />\n    </span>\n  </span>\n  \n  </a>\n    </p>\n</li>\n<li>Enter the home page of GIS Cloud Suite, find the service ispeco-dashboard-api in the services list.</li>\n<li>Click on <strong>GrayRelease</strong> on the right side of ispeco-dashboard-api.</li>\n<li>\n<p>Fill in ‘v2’ as the <strong>Version</strong>, select ‘Header match’ as the <strong>Gray releasee strategy</strong>, fill in ‘grayrelease’ as the <strong>Header</strong>, fill in ‘version2’ as the <strong>Header value</strong>, click on <strong>OK</strong>.</p>\n<p>\n  <a\n    class=\"gatsby-resp-image-link\"\n    href=\"/iManager_K8S/1014/static/9439de74fd7e684cbc80f5d9166c4dc0/fcda8/configuregrayreleaseen.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: 590px; margin-left: auto; margin-right: auto;\"\n  >\n    <span\n      class=\"gatsby-resp-image-background-image\"\n      style=\"padding-bottom: 89.52380952380953%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAASCAIAAADUsmlHAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABbUlEQVQ4y5WTYXKDIBCFPVGnY6ogICICQqo9RX/nAP3ZI3R6iB6zD0wcNSZtvklQ0MfbXZfMOOd9fwxhHMZwDD74vu9DCG/jqLUmhNAbCCEy1SrdJnTbKBXHBleFhVqIsiyrKyYxbrIyQvDnnONtrNY1rqKREw3MywXLWLL5Dn6tUowxa52xNvgYvzUWj/4QIxZZS3hCjOkhkec5xnLNnjMhCrnKBuKqYi+gKKZXN2BxK47JSaibFH9jTAeQetpkxVywsxj7Qfw6DOM44hnErdb4IYsi+S/Ziic9j4hqKkBaWUa4y6VglBqtO2OE4L0PwzDgO1/HPAWyEiMSxjlL1phhRNV2q7VpuAzzmgvnrElVQrWd6511EBd7bJ2xG78Q248xtBz9B+ecddfBDeaC87aNfXb7RNCdas8pkbu686dinDI2t+fqxNwh5kxKkj/Rw3NGHwGHxztbd16evsT754NipXDQavsqP3746fsXCaf2Ou2Yb8sAAAAASUVORK5CYII='); 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=\"configuregrayrelease\"\n        title=\"\"\n        src=\"/iManager_K8S/1014/static/9439de74fd7e684cbc80f5d9166c4dc0/fcda8/configuregrayreleaseen.png\"\n        srcset=\"/iManager_K8S/1014/static/9439de74fd7e684cbc80f5d9166c4dc0/65ed1/configuregrayreleaseen.png 210w,\n/iManager_K8S/1014/static/9439de74fd7e684cbc80f5d9166c4dc0/d10fb/configuregrayreleaseen.png 420w,\n/iManager_K8S/1014/static/9439de74fd7e684cbc80f5d9166c4dc0/fcda8/configuregrayreleaseen.png 590w\"\n        sizes=\"(max-width: 590px) 100vw, 590px\"\n      />\n    </span>\n  </span>\n  \n  </a>\n    </p>\n</li>\n<li>The system will create a service named ispeco-dashboard-api-v2 after editing gray release. Find the service ispeco-dashboard-api-v2 in the list, click on <strong>Modify Image</strong> on the right side of ispeco-dashboard-api-v2.</li>\n<li>\n<p>Modify the tag of the image to ‘test’, and click on <strong>OK</strong>.</p>\n<blockquote>\n<p>Notes:<br>\nYou need to push the image which is used for gray release to your registry first, and modify to your gray release image in this step.</p>\n</blockquote>\n</li>\n<li>Open Postman(or others software has the same function as Postman), send the GET request to <code class=\"gatsby-code-text\">http://192.168.17.145:30704/manager/web/api/service/nodes</code> to get the information of service node, the introduction of the method please refer to <a href=\"../..//microservices/list/\">GIS Cloud Suite > API > service > nodes > GET</a>. Fill in the token in the Header, please refer to <a href=\"../..//microservices/tokens/\">GIS Cloud Suite > API > tokens</a> to get the token. Add a new Header ‘grayrelease’ and Header value ‘version2’.</li>\n<li>\n<p>Send the request, as the screenshot below:</p>\n<p>\n  <a\n    class=\"gatsby-resp-image-link\"\n    href=\"/iManager_K8S/1014/static/34eb43f8901f12b5c0b6ea9289f864d7/ae694/getnodes.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: 100%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAIAAAAC64paAAAACXBIWXMAAA7EAAAOxAGVKw4bAAABw0lEQVQ4y5VT26rVMBDNJ/rgBwq++Xi+Q3yQI4IcFG97t9ltLk1zmdzqSsPeCIK0q2GSJlkzk7kwIcQwDEqpcRyHYRw5v94x7JimSd4xzcIt87sPy+u3y6s3ihljlg6tlZjFxLWSfQMatda4sN5hrSNvP1/c07N7+uQZUQxEKaUYIy3SzmMil3O21mKnlII1ZK0VEhqxv215K36Lmn37+iLE7JzH2bbjcQ82QwhdL9AXu64KkVNizx/f8/EKj8oddZfdc9hxzkHCZyiCXmhvbuxgZsWBzSm3v7J/FYozON2XTugL8CNRu7IbYE5L7531Tb3x1rcfG/8FRRhXbreFK86a4Nh0+c35TSiNNEitb5gwL6bULeNtf42US+qyj1KZkEjIqme7WAq5+lg8tRFi/d9ITTL4iQcnT16tXlq/tpBtx8AQGJCxWkfFv4zTlZCGo2SEAbFFLFErXq5iQllsJ8jIPhIfjAt4tw/nLIPc3B7k7YUPP1LwO/nAw1tjdHIwXl8Ev2ajaorHLIPcSz+6EC16JJ6IdrMcmyHLlfw+r4oeHXLGbbWqn2L4VSnUc6lCqZMNqBOzUKQzZEKjoHXqUc4DfwB9kY7cbeuWYAAAAABJRU5ErkJggg=='); 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=\"getnodes\"\n        title=\"\"\n        src=\"/iManager_K8S/1014/static/34eb43f8901f12b5c0b6ea9289f864d7/1e088/getnodes.png\"\n        srcset=\"/iManager_K8S/1014/static/34eb43f8901f12b5c0b6ea9289f864d7/65ed1/getnodes.png 210w,\n/iManager_K8S/1014/static/34eb43f8901f12b5c0b6ea9289f864d7/d10fb/getnodes.png 420w,\n/iManager_K8S/1014/static/34eb43f8901f12b5c0b6ea9289f864d7/1e088/getnodes.png 840w,\n/iManager_K8S/1014/static/34eb43f8901f12b5c0b6ea9289f864d7/ae694/getnodes.png 850w\"\n        sizes=\"(max-width: 840px) 100vw, 840px\"\n      />\n    </span>\n  </span>\n  \n  </a>\n    </p>\n</li>\n</ol>\n<p>In the step 8, if you do not add Header ‘grayrelease’ and the Header value ‘version2’, the returned response is from the service ispeco-dashboard-api. If you add Header ‘grayrelease’ and the Header value ‘version2’, the returned response is from the service ispeco-dashboard-api-v2. The explaination of gray release please refer to <a href=\"../../tutorial/ManageGISTileMicroService/\">Tutorial > Site Management > GIS Cloud Suite > GIS Cloud Suite Management</a>.</p>","frontmatter":{"title":"Tech Docs","next":null,"prev":null},"fields":{"path":"content/topics/grayrelease.en.md","slug":"/en/topics/grayrelease/","langKey":"en"}}},"pageContext":{"slug":"/en/topics/grayrelease/"}}}