Join us for a virtual Nutanix User Group meeting with Jarian Gibson as he covers Nutanix Cloud Clusters (NC2) on Azure and AWS with Citrix. <\/span><\/p>

Jarian will take a deep dive into NC2 on Azure architecture and Citrix on NC2 on Azure\u00a0that helps you strengthen your business continuity and disaster recovery position. He\u2019ll also provide the latest updates for NC2 on AWS.<\/span><\/p>

Plus, we're\u00a0giving away a Nutanix suitcase to one lucky winner!\u00a0Opt-in when you register\u00a0to be entered to win.\u00a0<\/p>","author":{"id":113632,"url":"\/members\/karlie-beil-113632","name":"Karlie Beil","avatar":"https:\/\/uploads-us-west-2.insided.com\/nutanix-us\/icon\/200x200\/1581aab3-bcf6-49f4-b2fb-3d11e8c010dc.png","userTitle":"Community Manager","rank":{"isBold":false,"isItalic":false,"isUnderline":false,"name":"Community Manager","color":"#0873ba"},"userLevel":4},"type":"Webinar","url":"https:\/\/next.nutanix.com\/events\/global-nug-nc2-on-azure-and-aws-with-citrix-151","image":"https:\/\/uploads-us-west-2.insided.com\/nutanix-us\/attachment\/f9693b5b-436b-427a-9b98-531b4040ff24_thumb.png","location":"","startsAt":1678298400,"endsAt":1678302000,"contentType":"event","attendees":[],"attendeeCount":0,"isLoggedInUserAttendee":false,"createdAt":"1675974969"},"phrases":{"Forum":{"{n} year|{n} years":"{n} year|{n} years","{n} month|{n} months":"{n} month|{n} months","{n} day|{n} days":"{n} day|{n} days","{n} hour|{n} hours":"{n} hour|{n} hours","{n} minute|{n} minutes":"{n} minute|{n} minutes","just":"just now","{plural} ago":"{plural} ago"}}}">

解决了

与Gitlab的Karbon集成


Userlevel 1
徽章 +2

嗨,有人有将Gitlab与Karbon集成的经验吗?基本上,我正在寻找从Gitlab到Karbon的自动部署。

图标

最好的答案乔森纳克斯2020年6月17日,19:11

Hi Anibal,<\/p>

I guess you are looking the GitLab CI\/CD integration with Kubernetes. If that\u2019s the case, you just need to follow the GitLab Admin Guide that explains how to setup an existing Kubernetes cluster in your GitLab instance.<\/p>","className":"post__content__best_answer"}">

查看原件

该主题已关闭以供评论

6个答复

UserLevel 4
徽章 +5

嗨,Anibal,

我想您正在寻找与Kubernetes集成的Gitlab CI/CD集成。如果是这样,您只需要遵循GitLab Admin指南,该指南说明如何在GitLab实例中设置现有的Kubernetes群集。

Userlevel 1
徽章 +2

嗨,何塞,

很高兴知道,我想在今天或明天终于做,让我交叉手指看;-)

UserLevel 4
徽章 +5

没问题。

您应该能够遵循此链接(更改GL URL)https:// /help/user/project/project/clusters/add_remove_clusters.md#existing-kubernetes-cluster

  • 如果您在K8S群集内部运行GitLab进行配置,请确保在默认名称空间中使用Kubernetes服务的IP地址,而不是FQDN Kubernetes.default.svc。
  • 如果您将GitLab从K8S群集中运行以配置,请确保在GitLab中允许内部IP通信。另外,您将需要使用主的IP地址。
Userlevel 1
徽章 +2

嗨,现在我有时间在开始时将手放在键盘上,以与Karbon实现Gitlab CI/CD集成。

在Gitlab Kubernets集成文件之后,我停在token/gitlab-admin帐户上。

我在Win10内运行的Linux中包括了Kubeconfig,我可以到达karbon,显示群集信息,没有任何问题,也可以使用.sh脚本直接连接到Karbon,但是对于两者,我都无法添加用户并获得:

kubectl应用-f gitlab-admin-service-account.yaml
Serviceaccount/gitlab-admin不变
clusterrolebinding.rbac.authorization.k8s.io/gitlab-admin不变

我认为这种访问就像管理员一样,但事实并非如此。

存在我需要做的任何技巧才能创建此用户吗?

Anibal

Userlevel 1
徽章 +2

嗨。我希望我使用了错误的使用,带有令牌访问Gitlab可以到达Karbon群集..但是我面临着从Gitlab安装Helm的问题。.我在服务器和Internet之间有一个代理。Linux Machine我可以在没有任何问题的情况下部署Kubernets仪表板,他们下载图像并部署。但是,我看到的头盔很少可以部署。

在PC和PE上,我更改了代理设置,以通过Linux计算机使用一个代理来通过我的代理身份验证,通常工作正常。但是,在这种情况下不是:

M48S普通拉pod/install-helm拉动图像“ grigistry.gitlab.com/gitlab-org/cluster-integration/helm-install-image/releases/2.16.3-kube-1.13.12”
3M48S警告失败POD/install-helm无法绘制图像“ grigistry.gitlab.com/gitlab-org/cluster-integration/helm-install-image/releases/2.16.3-kube-1.1.13.12”=未知的desc =来自守护程序的错误响应:获取https://registry.gitlab.com/v2/:Proxy Authentication criedion必需(前沿TMG需要授权来满足请求。访问Web代理过滤器的访问。)
3M48S警告失败POD/安装 - 螺旋错误:ErrimagePull

我的疑问,在我更改PC和PE的代理后,我需要在Kabon进行任何代理刷新吗?存在一种检查Karbon正在使用Internet访问的代理的方法吗?

Userlevel 1
徽章 +2

几乎没有代理调整可以解决。安装了Helm Pod,但在此主题上停止了:

2020-06-22T16:05:06.707958812Z + helm init --tiller-tls --tiller-tls-verify --tls-ca-cert /data/helm/helm/config/ca.pem --tiller-tls-cert/data/helm/helm/config/cert.pem -tiller-tls-key/data/helm/helm/helm/helm/config/key.pem--service-acccount tiller

2020-06-22T16:05:06.790705506Z Create /root/.helm

2020-06-22T16:05:06.790762263Z Create/root/.helm/repository

2020-06-22T16:05:06.790850492Z Create/root/.helm/repository/cache

2020-06-22T16:05:06.790889064Z Create/root/.helm/repository/local

2020-06-22T16:05:06.790924529Z create/root/.helm/plugins

2020-06-22T16:05:06.79097286Z Create/root/.helm/starters

2020-06-22T16:05:06.790981726Z Create/root/.helm/cache/archive/archive

2020-06-22T16:05:06.791085951Z Create/root/.helm/repository/repositories.yaml

2020-06-22T16:05:06.791096249Z用URL添加稳定的存储库:https://kubernetes-charts.storage.googleapis.com

2020-06-22T16:07:14.331970335Z错误:错误初始化:看起来“ https://kubernetes-chartes-charts.storage.storage.googleapis.com”不是有效的图表存储库,或者无法到达:获得:获得https:// kubernetes-ttps://Charts.storage.googleapis.com/index.yaml:Dial TCP 172.217.3.112:443:连接:连接时间已超时

对于我的不足,尝试安装kubernetes-charts而不会在没有委托的情况下安装,没错,我们看不到任何代理访问可以到达此站点。

存在一种验证Karbon下豆荚访问的互联网访问的方法吗?

Anibal

Learn more about our cookies.<\/a>","cookiepolicy.button":"Accept cookies","cookiepolicy.button.deny":"Deny all","cookiepolicy.link":"Cookie settings","cookiepolicy.modal.title":"Cookie settings","cookiepolicy.modal.content":"We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.<\/a>","cookiepolicy.modal.level1":"Basic
Functional","cookiepolicy.modal.level2":"Normal
Functional + analytics","cookiepolicy.modal.level3":"Complete
Functional + analytics + social media + embedded videos"}}}">
Baidu