In this episode, Sean Donahue is joined by Al Solorzano of E360 to discuss the worst disasters they've recovered from. Surprise twist, not all clouds are cumulonimbus and not all disasters are natural.<\/p><\/oembed>

Resources<\/p>

Solved

Karbon integration with GitLab

  • 17June 2020
  • 6replies
  • 3553次观看

Userlevel 1
徽章 +2

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

图标

Best answer by乔森纳克斯17June 2020, 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"}">

查看原件

该主题已关闭以供评论

6replies

UserLevel 4
徽章 +5

嗨,Anibal,

I guess you are looking the GitLab CI/CD integration with Kubernetes. If that’s the case, you just need to follow the GitLab Admin Guide that explains how to setup an existing Kubernetes cluster in your GitLab instance.

Userlevel 1
徽章 +2

嗨,何塞,

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

UserLevel 4
徽章 +5

No problem.

您应该能够遵循此链接(更改GL URL)https:///help/user/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

Hi, now I have time to put the hands over the keyboard at start to implement the gitlab CI/CD integration with Karbon.

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

I included the kubeconfig at my linux running inside my win10, I can reach the karbon showing the cluster info without any problem and also connected directly to the karbon with .sh scripts, but for both I can’t add the user and get:

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

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

Exist any tip that I need to do to be abble to create this user?

Anibal

Userlevel 1
徽章 +2

Hi.. I hope that I used wrong, with the token access gitlab can reach the karbon cluster.. but I facing a problem to install Helm from gitlab.. I have a proxy between the server and the internet.. running kubectl from a linux machine I can deploy the kubernets dashboard without any problem, they download the images and deploy.. but the helm I see few problem to deploy.

在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 Warning Failed pod/install-helm Failed to pull image "registry.gitlab.com/gitlab-org/cluster-integration/helm-install-image/releases/2.16.3-kube-1.13.12": rpc error: code = Unknown desc = Error response from daemon: Get https://registry.gitlab.com/v2/: Proxy Authentication Required ( Forefront TMG requires authorization to fulfill the request. Access to the Web Proxy filter is denied. )
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 Creating /root/.helm/repository/cache

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

2020-06-22T16:05:06.790924529Z Creating /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 Creating /root/.helm/repository/repositories.yaml

2020-06-22T16:05:06.791096249Z Adding stable repo with 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