{"id":10785,"date":"2025-10-29T10:23:25","date_gmt":"2025-10-29T02:23:25","guid":{"rendered":"https:\/\/nj.transwarp.cn:8180\/?p=10785"},"modified":"2025-10-29T10:23:48","modified_gmt":"2025-10-29T02:23:48","slug":"tdc%e4%ba%91%e4%ba%a7%e5%93%81%e4%b8%8a%e6%9e%b6%e5%b7%a5%e5%85%b7%e9%9b%86%e4%bd%bf%e7%94%a8%e8%af%b4%e6%98%8e","status":"publish","type":"post","link":"https:\/\/kbwp.transwarp.cn\/?p=10785","title":{"rendered":"TDC\u4e91\u4ea7\u54c1\u4e0a\u67b6\u5de5\u5177\u96c6\u4f7f\u7528\u8bf4\u660e"},"content":{"rendered":"<h3>\u6982\u8981\u63cf\u8ff0<\/h3>\n<p>\u76ee\u524dTDC\u652f\u6301\u4e91\u4ea7\u54c1\u4ea7\u54c1\u5305\u5bfc\u5165\uff08\u66ff\u4ee3 TDC \u4e91\u4ea7\u54c1\u4e0a\u67b6 patch \u6d41\u7a0b\uff09\u3001\u81ea\u5b9a\u4e49\u4e91\u4ea7\u54c1\u5bfc\u51fa\u3002<br \/>\n\u672c\u6587\u63cf\u8ff0TDC\u4e0a\u67b6\u5de5\u5177\u96c6\u4f7f\u7528<\/p>\n<h3>\u8be6\u7ec6\u63cf\u8ff0<\/h3>\n<h4>1 \u83b7\u53d6\u4e91\u4ea7\u54c1\u4ea7\u54c1\u5305<\/h4>\n<p>\u6240\u6709\u5df2\u7ecf\u53d1\u5e03\u7684\u4e91\u4ea7\u54c1\u4e0a\u67b6\u5305\u53ef\u5728\u8fd9\u91cc\u81ea\u53d6\uff1a \u5df2\u53d1\u5e03-\u4e91\u4ea7\u54c1\u7248\u672c-\u4e91\u95e8\u6237<br \/>\n<a href=\"http:\/\/rdm.transwarp.io\/worksheetshare\/62dfb49f59021e4a187a2bd7\">http:\/\/rdm.transwarp.io\/worksheetshare\/62dfb49f59021e4a187a2bd7<\/a><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2023\/08\/image-1693481301656.png\" alt=\"file\" \/><br \/>\n\u4e91\u4ea7\u54c1\u5305\u53ea\u5305\u542b\u4e0a\u67b6\u4fe1\u606f\u548cChart\uff0c\u4e0d\u5305\u542b\u4ea7\u54c1\u955c\u50cf\u3002<\/p>\n<h4>2 \u4ea7\u54c1\u5305\u5bfc\u5165<\/h4>\n<h5>2.1 \u4ea7\u54c1\u5bfc\u5165\u5de5\u5177product-toolkit<\/h5>\n<h6>product-toolkit-1.0.5-final\uff1a<\/h6>\n<p>\u5386\u53f2\u7248\u672c product-toolkit-1.0.5-final \u4f7f\u7528\u9650\u5236\uff1a<br \/>\n\u652f\u6301\u5728\u6240\u6709 TDC \u7248\u672c\u4e0a\u5bfc\u5165\u4e91\u4ea7\u54c1\u4e3a\u5e73\u53f0\u7ea7\u4ea7\u54c1<br \/>\nTDC 2.3.0 \u53ca\u66f4\u65e9\u7248\u672c\u4e0d\u652f\u6301\u6307\u5b9a\u79df\u6237\u5bfc\u5165\uff0c\u4e0d\u652f\u6301\u4ea7\u54c1\u5305\u5bfc\u51fa<\/p>\n<p>\u6700\u65b0\u7248\u672c product-toolkit-1.0.5-final \u4e2d\u65b0\u589e\u7684\u529f\u80fd\uff1a<br \/>\n\u589e\u52a0\u7ec4\u4ef6\u591a\u5165\u53e3\u529f\u80fd\u5143\u6570\u636e\u90e8\u5206\u5bfc\u5165\u652f\u6301<\/p>\n<h6>product-toolkit-1.0.4-final\uff1a<\/h6>\n<p>\u6700\u65b0\u7248\u672c product-toolkit-1.0.4-final \u4f7f\u7528\u9650\u5236\uff1a<br \/>\n\u652f\u6301\u5728\u6240\u6709 TDC \u7248\u672c\u4e0a\u5bfc\u5165\u4e91\u4ea7\u54c1\u4e3a\u5e73\u53f0\u7ea7\u4ea7\u54c1<br \/>\nTDC 2.3.0 \u53ca\u66f4\u65e9\u7248\u672c\u4e0d\u652f\u6301\u6307\u5b9a\u79df\u6237\u5bfc\u5165\uff0c\u4e0d\u652f\u6301\u4ea7\u54c1\u5305\u5bfc\u51fa<\/p>\n<p>\u6700\u65b0\u7248\u672c product-toolkit-1.0.4-final \u4e2d\u65b0\u589e\u7684\u529f\u80fd\uff1a<br \/>\n\u5f53TDC\u7248\u672c\u5728 3.1.2\u53ca\u4ee5\u4e0a\uff0c\u540c\u65f6\u8f6c\u6362\/root\/product-meta\u4ee5\u53ca\/root\/product-meta-ng\uff0c\u652f\u6301\u4ea7\u54c1\u5143\u6570\u636e\u533a\u5206\u7ec4\u4ef6\u7248\u672c\u529f\u80fd\u3002<br \/>\n\u5f53TDC\u7248\u672c\u5728 3.1.2\u53ca\u4ee5\u4e0a\uff0c\u589e\u52a0TCC\u91cd\u542f\u529f\u80fd\u3002\u5224\u65ad\u5bfc\u5165\u7ec4\u4ef6\u662f\u5426\u6ee1\u8db3\u6761\u4ef6\uff0c\u5982\u6ee1\u8db3\uff0c\u5219\u5bf9TCC\u7ec4\u4ef6\u8fdb\u884c\u91cd\u542f\u3002<\/p>\n<p>\u6700\u65b0\u7248\u672c product-toolkit-1.0.4-final \u4e2d\u4fee\u590d\u7684\u95ee\u9898\uff1a<br \/>\n\u4fee\u590d\u9690\u79c1\u8ba1\u7b97\u7c7b\u4e91\u4ea7\u54c1\uff0cv1alpha1\u6587\u4ef6\u672a\u8f6c\u6362\u7684\u95ee\u9898\u3002<br \/>\n\u4fee\u590d\u4ee5\u4e0b\u5b57\u6bb5\u8f6c\u6362\u95ee\u9898\uff1aslb_supported\/pv_recycle_supported\/macvlan_supported\u3002<\/p>\n<h6>product-toolkit-1.0.3-final\uff1a<\/h6>\n<p>\u5386\u53f2\u7248\u672c product-toolkit-1.0.3-final \u4f7f\u7528\u9650\u5236\uff1a<br \/>\n\u652f\u6301\u5728\u6240\u6709 TDC \u7248\u672c\u4e0a\u5bfc\u5165\u4e91\u4ea7\u54c1\u4e3a\u5e73\u53f0\u7ea7\u4ea7\u54c1<br \/>\nTDC 2.3.0 \u53ca\u66f4\u65e9\u7248\u672c\u4e0d\u652f\u6301\u6307\u5b9a\u79df\u6237\u5bfc\u5165\uff0c\u4e0d\u652f\u6301\u4ea7\u54c1\u5305\u5bfc\u51fa<\/p>\n<p>\u6700\u65b0\u7248\u672c product-toolkit-1.0.3-final \u4e2d\u4fee\u590d\u7684\u95ee\u9898\uff1a<br \/>\n\u652f\u6301 TDC 3.0.0 \u65b0\u7279\u6027\uff0c\u5305\u62ec\uff1a\u591a\u5f00\u53d1\u5165\u53e3\u3001\u6570\u636e\u5f00\u53d1\u7b49\u529f\u80fd<br \/>\n\u4fee\u590d charts \u7248\u672c\u53f7\u8f6c\u6362\u65f6\u5bf9\u90e8\u5206\u4e24\u4f4d\u7248\u672c\u53f7\u8f6c\u6362\u4e0d\u6b63\u786e<\/p>\n<h5>2.2 \u4ea7\u54c1\u5305\u5bfc\u5165<\/h5>\n<p>\u4ece owncloud \u4e0b\u8f7d\u6700\u65b0\u7684 product-toolkit \u5305\u3002<br \/>\nx86\u73af\u5883\u8bf7\u4e0b\u8f7d\uff1a<a href=\"http:\/\/172.16.1.97:8080\/remote.php\/webdav\/TRANSWARP_RELEASES\/OFFICIAL\/TDC\/product-packages\/product-toolkit-1.0.5-final.tar.gz\">http:\/\/172.16.1.97:8080\/remote.php\/webdav\/TRANSWARP_RELEASES\/OFFICIAL\/TDC\/product-packages\/product-toolkit-1.0.5-final.tar.gz<\/a><br \/>\narm\u73af\u5883\u8bf7\u4e0b\u8f7d\uff1a<a href=\"http:\/\/172.16.1.97:8080\/remote.php\/webdav\/TRANSWARP_RELEASES\/OFFICIAL\/TDC\/product-packages\/product-toolkit-1.0.5-final-ARM.tar.gz\">http:\/\/172.16.1.97:8080\/remote.php\/webdav\/TRANSWARP_RELEASES\/OFFICIAL\/TDC\/product-packages\/product-toolkit-1.0.5-final-ARM.tar.gz<\/a><br \/>\n\u4e0a\u4f20\u5230 TDC \u96c6\u7fa4\u5b89\u88c5\u8282\u70b9\u5e76\u89e3\u538b\u81f3\u4efb\u610f\u76ee\u5f55\uff0c\u4e0b\u6587\u4ee5  \/opt\/tdc-installer\/packages\/pkg \u76ee\u5f55\u4e3e\u4f8b\u3002\uff08\u975e\u5b89\u88c5\u8282\u70b9\u6267\u884c\u811a\u672c\u4f1a\u51fa\u73b0\u5f02\u5e38\uff09<br \/>\n\u5982\u5df2\u6709\u4ea7\u54c1\u4e0a\u67b6\u5305\uff0c\u53ef\u4ee5\u8df3\u8fc7\u6b64\u6b65\uff1a\u4ece owncloud \u7684 <a href=\"http:\/\/172.16.1.97:8080\/index.php\/apps\/files\/?dir=\/TRANSWARP_RELEASES\/OFFICIAL\/TDC\/product-packages\">http:\/\/172.16.1.97:8080\/index.php\/apps\/files\/?dir=\/TRANSWARP_RELEASES\/OFFICIAL\/TDC\/product-packages<\/a> \u76ee\u5f55\u4e0b\u8f7d\u6240\u9700\u7684\u4ea7\u54c1\u4e0a\u67b6\u5305\u3002<\/p>\n<p>\u4e0a\u4f20\u5230 TDC \u96c6\u7fa4\u5b89\u88c5\u8282\u70b9\u4efb\u610f\u76ee\u5f55\uff0c\u4e0b\u6587\u4ee5 \/opt\/tdc-installer\/packages\/pkg \u76ee\u5f55\u4e3e\u4f8b\u3002<br \/>\n\u76f8\u5173chart\u7684\u5305\u4fe1\u606f\uff0c\u5728owncloud\u4e0a\u627e\u5230\u4e0b\u8f7d\uff0c\u672c\u6587\u4ee5TDH931\u4e3a\u4f8b<br \/>\n<img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2023\/09\/image-1693533944286.png\" alt=\"file\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2023\/09\/image-1693534585702.png\" alt=\"file\" \/><\/p>\n<p>\u5bfc\u5165\uff1a<\/p>\n<pre><code class=\"language-shell\">cd \/opt\/tdc-installer\/packages\/pkg\/product-toolkit\/bin\/<\/code><\/pre>\n<p>\u6267\u884c\u5bfc\u5165\u547d\u4ee4 <\/p>\n<pre><code class=\"language-shell\">sh import.sh -w <work_dir> -n <pkg_name> [-i|-r] [-u] [-t <tenant>]<\/code><\/pre>\n<p>\u53c2\u6570\u8bf4\u660e\uff1a<\/p>\n<pre><code>-w: \u6307\u5b9a\u5de5\u4f5c\u76ee\u5f55\uff0c\u5373\u5b58\u653e\u4ea7\u54c1\u4e0a\u67b6\u5305\u7684\u76ee\u5f55\uff0c\u5bfc\u5165\u8fc7\u7a0b\u4e2d\u4f1a\u7528\u4e8e\u5b58\u653e\u4e00\u4e9b\u4e34\u65f6\u6587\u4ef6\n-n: \u4ea7\u54c1\u4e0a\u67b6\u5305\u6587\u4ef6\u540d\n-t: \u53ef\u9009\u53c2\u6570\uff0c\u6307\u5b9a\u9700\u8981\u5bfc\u5165\u7684\u79df\u6237\uff0c\u4e0d\u6307\u5b9a\u5219\u4e3a\u5e73\u53f0\u7ea7\u4ea7\u54c1\n-u: \u53ef\u9009\u53c2\u6570\uff0c\u6307\u5b9a\u4f1a\u4e0a\u4f20 \u5de5\u4f5c\u76ee\u5f55\/product_package\/images\/ \u4e0b\u7684\u4ea7\u54c1\u7ebf image \u538b\u7f29\u5305\uff0c\u5982\uff1aTDH-Image-Registry-Transwarp-8.0.1-final.tar.gz\n-i: \u53ef\u9009\u53c2\u6570\uff0c\u4e0d\u53ef\u4e0e -r \u540c\u65f6\u6307\u5b9a\uff0c\u6307\u5b9a\u5219\u4e0d\u4f1a\u4e0a\u4f20\u4ea7\u54c1\u5305\u4e2d\u7684 chart \uff0c\u9632\u6b62\u8986\u76d6\u672c\u5730\u5b9a\u5236\u8fc7\u7684 chart\n-r: \u53ef\u9009\u53c2\u6570\uff0c\u4e0d\u53ef\u4e0e -i \u540c\u65f6\u6307\u5b9a\uff0c\u6307\u5b9a\u4f1a\u4f7f\u7528\u4ea7\u54c1\u5305\u4e2d\u7684 chart \u8986\u76d6\u73b0\u573a harbor \u5b58\u5728\u7684\u540c\u7248\u672c chart<\/code><\/pre>\n<p>\u672c\u6587\u5bfc\u5165TDH931\u4ea7\u54c1\u5305<\/p>\n<pre><code class=\"language-shell\">nohup sh import.sh -w \/opt\/tdc-installer\/packages\/pkg\/ -n PRODUCT-TDH-ALL-9.3.1.tar.gz > importlog 2>&1 &<\/code><\/pre>\n<p>\u4ea7\u54c1\u5305\u53ef\u4ee5\u91cd\u590d\u591a\u6b21\u6267\u884c\u5bfc\u5165\uff0c\u5982\u679c\u672a\u6307\u5b9a -i \u6216 -r \u4e2d\u4efb\u4f55\u4e00\u4e2a\uff0c\u5bfc\u5165\u7a0b\u5e8f\u4f1a\u5bf9\u6bd4\u4ea7\u54c1\u5305\u4e2d\u5305\u542b\u7684\u4e0e\u672c\u5730\u5316 harbor \u4e2d\u7684 chart\uff0c\u5982\u5b8c\u5168\u76f8\u540c\u5219\u4f1a\u5ffd\u7565\u4e0a\u4f20\u8be5 chart\uff0c\u5982\u6709\u4e0d\u540c\uff0c\u4f1a\u6253\u5370\u51fa\u4e24\u8005\u7684 diff \u5185\u5bb9\uff0c\u4e0d\u4f1a\u4e0a\u4f20\u4efb\u4f55\u7684 chart\uff0c\u5e76\u9000\u51fa\u5bfc\u5165\u7a0b\u5e8f\u3002<\/p>\n<p>\u73b0\u573a\u53ef\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u6307\u5b9a -i \u6216 -r \u53c2\u6570\u540e\u6267\u884c<br \/>\n<img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2023\/09\/image-1693535147899.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2023\/09\/image-1693536560699.png\" alt=\"file\" \/><\/p>\n<h4>3 \u4e0b\u8f7d\u5bf9\u5e94\u7684\u955c\u50cf\u5305<\/h4>\n<p>\u4e0b\u8f7dTDH-Image-Registry-Transwarp-9.3.1-final.tar.gz \u5e76\u4e0a\u4f20\u5230\u96c6\u7fa4\u670d\u52a1\u5668\u4e0a<br \/>\n\u8fd9\u8fb9\u4ee5\u4e0a\u4f20\u5230\/opt\/tdc-installer\/packages\/tdh931\u4e3a\u4f8b<\/p>\n<pre><code class=\"language-shell\">tar -zxvf \/opt\/tdc-installer\/packages\/tdh931\/TDH-Image-Registry-Transwarp-9.3.1-final.tar.gz<\/code><\/pre>\n<p>\u89e3\u538b\u5b8c\u6210\u540e\uff0c\u5728\/opt\/tdc-installer\/packages\/tdh931\/\u76ee\u5f55\u4e0b\u6267\u884c<\/p>\n<pre><code class=\"language-shell\">#!\/bin\/bash\nfor eachTag in $(jq -r '.manifests[].annotations.\"org.opencontainers.image.ref.name\"' .\/images\/index.json)\ndo\necho $eachTag\nskopeo --insecure-policy=true copy --dest-tls-verify=false oci:.\/images:$eachTag docker:\/\/172.22.16.88:5000\/$eachTag\ndone<\/code><\/pre>\n<p>\u5176\u4e2ddocker:\/\/172.22.16.88:5000 \u6839\u636e\u5b9e\u9645\u60c5\u51b5\u66ff\u6362\u6210\u5bf9\u5e94\u7684registry\u89d2\u8272\u7684ip\u5730\u5740<br \/>\n<img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2023\/09\/image-1693539024770.png\" alt=\"file\" \/><\/p>\n<h4>4 \u81ea\u5b9a\u4e49\u4ea7\u54c1\u4e0a\u67b6<\/h4>\n<p><img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2023\/09\/image-1693537663018.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2023\/09\/image-1693537849060.png\" alt=\"file\" \/><br \/>\n\u6309\u7167\u8981\u6c42\u5c06\u5e26*\u7684\u5185\u5bb9\u586b\u5199\u4e00\u4e0b<br \/>\n<img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2023\/09\/image-1693537897129.png\" alt=\"file\" \/><br \/>\n\u81ea\u5b9a\u4e49\u9009\u62e9\u9700\u8981\u5b89\u88c5\u7684\u4ea7\u54c1<br \/>\n<img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2023\/09\/image-1693540326377.png\" alt=\"file\" \/><br \/>\n<img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2023\/09\/image-1693540337489.png\" alt=\"file\" \/><br \/>\n\u70b9\u8fdbTDH931<br \/>\n<img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2023\/09\/image-1693540370343.png\" alt=\"file\" \/><br \/>\n\u5f00\u59cb\u90e8\u7f72<br \/>\n<img decoding=\"async\" src=\"https:\/\/nj.transwarp.cn:8180\/wp-content\/uploads\/2023\/09\/image-1693540932160.png\" alt=\"file\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981\u63cf\u8ff0 \u76ee\u524dTDC\u652f\u6301\u4e91\u4ea7\u54c1\u4ea7\u54c1\u5305\u5bfc\u5165\uff08\u66ff\u4ee3 TDC \u4e91\u4ea7\u54c1\u4e0a\u67b6 patch \u6d41\u7a0b\uff09\u3001\u81ea\u5b9a\u4e49\u4e91\u4ea7\u54c1\u5bfc\u51fa\u3002 \u672c ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/kbwp.transwarp.cn\/?p=10785\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":15,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-10785","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"acf":[],"_links":{"self":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/10785","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10785"}],"version-history":[{"count":3,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/10785\/revisions"}],"predecessor-version":[{"id":17530,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/10785\/revisions\/17530"}],"wp:attachment":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10785"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10785"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10785"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}