{"id":16784,"date":"2025-06-25T17:32:29","date_gmt":"2025-06-25T09:32:29","guid":{"rendered":"https:\/\/kbwp.transwarp.cn\/?p=16784"},"modified":"2025-06-25T17:32:29","modified_gmt":"2025-06-25T09:32:29","slug":"tdc-%e6%89%8b%e5%8a%a8%e9%83%a8%e7%bd%b2aquila","status":"publish","type":"post","link":"https:\/\/kbwp.transwarp.cn\/?p=16784","title":{"rendered":"TDC \u624b\u52a8\u90e8\u7f72aquila"},"content":{"rendered":"<h3>\u6982\u8981\u63cf\u8ff0<\/h3>\n<p>\u672c\u6587\u63cf\u8ff0\u5728\u5b89\u88c5TDC\u65f6\u6ca1\u6709\u90e8\u7f72Aquila\u540e\uff0c\u5982\u4f55\u624b\u52a8\u5bf9Aquila\u505a\u5b89\u88c5<\/p>\n<h3>\u8be6\u7ec6\u63cf\u8ff0<\/h3>\n<h4>\u5b89\u88c5\u524d\u51c6\u5907\u5de5\u4f5c<\/h4>\n<h5>1 \u68c0\u67e5tdc-operator<\/h5>\n<p>\u67e5\u770b\u96c6\u7fa4\u4e2d\u662f\u5426\u6709tdc-operator \u5b9e\u4f8b\uff0c \u5e76\u68c0\u67e5\u662f\u5426ready<br \/>\n<img decoding=\"async\" src=\"https:\/\/kbwp.transwarp.cn\/wp-content\/uploads\/2025\/06\/image-1750832963744.png\" alt=\"file\" \/><\/p>\n<h5>2 \u68c0\u67e5 configmap\uff08\u7528\u4e8e\u68c0\u67e5\u5f53\u524d Operator \u652f\u6301\u5b89\u88c5\u7684 Aquila \u7684\u7248\u672c\uff09<\/h5>\n<p>\u4f8b\u5982\u5b89\u88c5 aquila 2.0.1\u7248\u672c\uff0c \u9700\u8981\u68c0\u67e5 operator \u5bf9\u5e94\u7684configmap\u662f\u5426\u6709\u540d\u79f0\u4e3a knowledge-aquila-2.0.1-x \u7684configmap\u5bf9\u8c61\uff0c knowledge-aquila-2.0.1-x \u4fdd\u5b58\u4e86\u90e8\u7f72 Aquila  2.0.1 \u7248\u672c\u6240\u9700\u7684\u6a21\u7248\u6587\u4ef6<\/p>\n<pre><code class=\"language-shell\">kubectl get cm -n tdc-operator<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/kbwp.transwarp.cn\/wp-content\/uploads\/2025\/06\/image-1750833265393.png\" alt=\"file\" \/><\/p>\n<p>\u5982\u679c\u6ca1\u6709\u5bf9\u5e94\u7684configmap \u8bf7\u4e0b\u8f7d TDC-operator \u6700\u65b0\u5b89\u88c5\u5305\uff0c \u5e76\u89e3\u538b\u5b89\u88c5\u5305\u6267\u884c install.sh\u811a\u672c\u66f4\u65b0 tdc-operator\u3002<\/p>\n<h5>3 \u68c0\u67e5\u73af\u5883<\/h5>\n<p>\u7531\u4e8etdc\u5728\u90e8\u7f72\u79df\u6237\u7684\u65f6\u5019\u548cAquila\u6709\u5173\u8054\uff0c\u76ee\u524d\u9700\u8981aquila\u4e5f\u90e8\u7f72\u5728tdcsys\u8fd9\u4e2anamespace\u4e0b\u9762<br \/>\naquila\u4f9d\u8d56TDC\u7684guardian\u3001guardian federation \u4ee5\u53cakundb\u6570\u636e\u5e93\uff08TDC 2.5.0 \u5f00\u59cb\u4f7f\u7528kundb\uff09\uff0c \u9700\u8981\u786e\u4fddtdc\u7684\u7ec4\u4ef6\u8fd0\u884c\u6b63\u5e38<\/p>\n<p>\u53ef\u4ee5\u901a\u8fc7\u5982\u4e0b\u547d\u4ee4\u67e5\u770bTDC \u7ec4\u4ef6\u72b6\u6001<\/p>\n<pre><code class=\"language-shell\">kubectl get po -n tdcsys<\/code><\/pre>\n<h4>\u4e0a\u4f20Aquila\u955c\u50cf\u548cChart<\/h4>\n<h5>\u4e0b\u8f7d\u5e76\u4e0a\u4f20aquila\u955c\u50cf<\/h5>\n<p>\u4e0b\u8f7dAQUILA-Image-Registry-2.0.1-TDC-X86_64-final.tar.gz<\/p>\n<pre><code class=\"language-shell\">tar -zxvf AQUILA-Image-Registry-2.0.1-TDC-X86_64-final.tar.gz<\/code><\/pre>\n<p>\u4e0a\u4f20\u955c\u50cf<\/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.18.131.146:5000\/$eachTag\ndone<\/code><\/pre>\n<h5>\u786e\u8ba4\u662f\u5426\u6709Aquila Chart<\/h5>\n<p><a href=\"https:\/\/172.18.131.146:30003\/\">https:\/\/172.18.131.146:30003\/<\/a><br \/>\n\u9ed8\u8ba4\u7528\u6237\u540d\u662f admin \u5bc6\u7801\u662f Harbor12345 \uff0c harbor \u7684\u9ed8\u8ba4\u7aef\u53e3\u662f 30003 \u534f\u8bae\u662fhttps<br \/>\n<img decoding=\"async\" src=\"https:\/\/kbwp.transwarp.cn\/wp-content\/uploads\/2025\/06\/image-1750839365198.png\" alt=\"file\" \/><br \/>\n\u5982\u679c\u6ca1\u6709\u9700\u8981\u4e0a\u4f20\u5bf9\u5e94\u7248\u672c\u7684chart<\/p>\n<h5>\u90e8\u7f72aquila<\/h5>\n<p>\u7f16\u8f91\u90e8\u7f72Aquila \u7684\u914d\u7f6e\u6587\u4ef6<br \/>\n\u901a\u8fc7\u914d\u7f6e\u6a21\u7248\u751f\u6210\u4e00\u4e2atdc \u7684\u914d\u7f6e\u6587\u4ef6<br \/>\n\u7531\u4e8e\u672c\u6b21\u73af\u5883operator\u7684\u7248\u672c\u662f&lt;1.8.0\u7684\uff0c\u91c7\u7528\u5982\u4e0b\u6a21\u7248<\/p>\n<pre><code class=\"language-yaml\">apiVersion: tdc.transwarp.io\/v1alpha1\nkind: TranswarpApplication\nmetadata:\n  name: aquila          \n  namespace: tdcsys\nspec:\n  modules:\n    - aquila-basic\n  product: aquila\n  release: {{ \u4ea7\u54c1\u7248\u672c }}\n  references:\n  - name: tdc\n    namespace: tdcsys\n    type: tdc\n  state: running\n values:\n    clusterDomainName: {{\u96c6\u7fa4\u57df\u540d}}<\/code><\/pre>\n<p>\u53c2\u6570\u8bf4\u660e\uff1a<\/p>\n<p>product: \u4ea7\u54c1\u540d\u79f0<\/p>\n<p>release: \u4ea7\u54c1\u7248\u672c \u4f8b\u5982  aquila-2.0.1-final<br \/>\nmodules\uff1a \u586b\u5199\u4f60\u60f3\u90e8\u7f72\u7684aquila \u6a21\u5757<br \/>\nclusterDomainName\uff1atdc-installer \u9875\u9762\u4e0a\u9009\u62e9\u7684 clusterDomainName \u7684\u503c\u3002\u8bf7\u6839\u636e\u73b0\u573a\u60c5\u51b5\u586b\u5199\u76f8\u5e94\u7684\u503c\uff01\uff01\uff01\uff01<\/p>\n<p>\u5982\u679c\u8981\u5b89\u88c5audit\uff0cmodules\u9700\u8981\u586b\u5199\u6210 aquila-log<\/p>\n<p>\u4fee\u6539\u540e\u793a\u4f8b( \u90e8\u7f72 aquila 2.0.1 final \uff09<\/p>\n<pre><code class=\"language-yaml\">apiVersion: tdc.transwarp.io\/v1alpha1\nkind: TranswarpApplication\nmetadata:\n  name: aquila          \n  namespace: tdcsys\nspec:\n  modules:\n    - aquila-basic\n  product: aquila\n  release: aquila-2.0.1-final\n  references:\n  - name: tdc\n    namespace: tdcsys\n    type: tdc\n  state: running\n  values:\n    clusterDomainName: transwarp.local<\/code><\/pre>\n<p>\u901a\u8fc7kubectl \u547d\u4ee4\u90e8\u7f72 aquila \u914d\u7f6e\u6587\u4ef6<br \/>\n\u914d\u7f6e\u6587\u4ef6\u662f\u4e00\u4e2acrd\u5bf9\u8c61\uff0c tdc-operator \u4f1alist watch \u8fd9\u4e2acrd\u5bf9\u8c61\uff0c \u5e76\u6e32\u67d3\u90e8\u7f72\u6a21\u7248\uff0c\u6574\u4e2a\u90e8\u7f72\u4efb\u52a1\u4f1a\u88abtdc-operator \u62c6\u5206\u4e3a\u82e5\u5e72\u4e2a\u5b50\u4efb\u52a1\u3002<\/p>\n<pre><code class=\"language-shell\">kubectl apply -f aquila-2.0.1.yaml -n tdcsys<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/kbwp.transwarp.cn\/wp-content\/uploads\/2025\/06\/image-1750839902090.png\" alt=\"file\" \/><\/p>\n<h5>\u5b89\u88c5\u8fc7\u7a0b\u8bf4\u660e<\/h5>\n<p>\u6b64\u65f6 Operator \u4f1a\u81ea\u52a8\u5f00\u59cb\u6267\u884c\u5347\u7ea7\u6d41\u7a0b\u3002 \u6574\u4e2a\u5b89\u88c5\u8fc7\u7a0b\u4f1a\u4f9d\u636eAquila\u7684\u90e8\u7f72\u6a21\u7248\u7684\u5b9a\u4e49\u62c6\u5206\u6210\u82e5\u5e72\u4e2a\u5b50\u4efb\u52a1\uff0c \u6bcf\u4e2a\u4efb\u52a1\u90fd\u4f1a\u6709\u5bf9\u5e94\u7684\u72b6\u6001\uff0c \u53ef\u4ee5\u901a\u8fc7kubectl \u547d\u4ee4\u6765\u4e86\u89e3\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u7684\u5b50\u4efb\u52a1<\/p>\n<pre><code class=\"language-shell\">kubectl get warpapp aquila -n tdcsys  -o yaml<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/kbwp.transwarp.cn\/wp-content\/uploads\/2025\/06\/image-1750839962514.png\" alt=\"file\" \/><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/kbwp.transwarp.cn\/wp-content\/uploads\/2025\/06\/image-1750839985748.png\" alt=\"file\" \/><\/p>\n<p>\u5fc5\u8981\u60c5\u51b5\u4e0b\u53ef\u4ee5\u76f4\u63a5\u67e5\u770btdc-operator\u7684\u65e5\u5fd7\u4e86\u89e3\u90e8\u7f72\u7684\u60c5\u51b5\uff0c \u53ef\u4ee5\u901a\u8fc7\u4efb\u52a1\u7c7b\u578b\u6216\u8005\u7ec4\u4ef6\u540d\u79f0\u641c\u7d22\u76f8\u5173\u7ec4\u4ef6\u6216\u8005\u4efb\u52a1\u7684\u6267\u884c\u65e5\u5fd7<\/p>\n<pre><code class=\"language-shell\">\n# \u67e5\u770b\u5b9e\u65f6\u65e5\u5fd7\nkubectl logs -f --tail=1000 -n tdc-operator  tdc-operator-controller-manager-0\n# \u67e5\u770b\u65e5\u5fd7\u5e76\u7b5b\u9009\uff0c\u4f8b\u5982\u7b5b\u9009aquila\u76f8\u5173\u7684\u65e5\u5fd7\nkubectl logs -f -n tdc-operator  tdc-operator-controller-manager-0 |grep aquila<\/code><\/pre>\n<p><img decoding=\"async\" src=\"https:\/\/kbwp.transwarp.cn\/wp-content\/uploads\/2025\/06\/image-1750840638140.png\" alt=\"file\" \/><\/p>\n<p>status\u4e0b\u7684state\u5b57\u6bb5\u4f1a\u663e\u793a\u5f53\u524d\u7684\u96c6\u7fa4\u72b6\u6001\uff0c running \u8868\u793a\u5b89\u88c5\u5b8c\u6210\u6574\u4e2a\u96c6\u7fa4\u5df2\u7ecfrunning\uff0c \u5b89\u88c5\u8fc7\u7a0b\u4e2d\u4f1a\u8868\u73b0\u4e3a deploying<\/p>\n<p>\u5207\u6362\u4e3arunning\u4e4b\u540e\uff0c\u90e8\u7f72\u6210\u529f<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/kbwp.transwarp.cn\/wp-content\/uploads\/2025\/06\/image-1750843770550.png\" alt=\"file\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981\u63cf\u8ff0 \u672c\u6587\u63cf\u8ff0\u5728\u5b89\u88c5TDC\u65f6\u6ca1\u6709\u90e8\u7f72Aquila\u540e\uff0c\u5982\u4f55\u624b\u52a8\u5bf9Aquila\u505a\u5b89\u88c5 \u8be6\u7ec6\u63cf\u8ff0 \u5b89\u88c5\u524d\u51c6\u5907\u5de5\u4f5c ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/kbwp.transwarp.cn\/?p=16784\" 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-16784","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\/16784","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=16784"}],"version-history":[{"count":1,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/16784\/revisions"}],"predecessor-version":[{"id":16794,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/16784\/revisions\/16794"}],"wp:attachment":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=16784"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=16784"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=16784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}