Tag: kubernetes docker

获取错误状态尝试上传我的kubernetes窗格

我有我的controller.yaml,看起来像这样: apiVersion: v1 kind: ReplicationController metadata: name: hmrcaction labels: name: hmrcaction spec: replicas: 1 selector: name: hmrcaction template: metadata: labels: name: hmrcaction version: 0.1.4 spec: containers: – name: hmrcaction image: ccc-docker-docker-release.someartifactory.com/hmrcaction:0.1.4 ports: – containerPort: 9000 imagePullSecrets: – name: fff-artifactory 和服务yaml,看起来像这样: apiVersion: v1 kind: Service metadata: name: hmrcaction labels: name: hmrcaction spec: # if your cluster […]

GitLab无法连接数据库

我正在尝试在Gubter中为Kubernetes使用单独的容器,用于GitLab,Redis和PostgreSQL。 我按照PostgreSQL,Redis和GitLab的顺序启动这三个容器。 前两个工作正常,但是当我尝试启动GitLab时,它以某种方式没有find数据库configuration。 [root@cent-gluster-workstation ~]# kubectl logs gitlab-3743104516-plk3x -p Initializing logdir… Initializing datadir… Installing configuration templates… Configuring gitlab… Configuring gitlab::database ERROR: Please configure the database connection. Refer http://git.io/wkYhyA for more information. Cannot continue without a database. Aborting… 我确认我能够从GitLab窗格内telnet到5432端口上的PostgreSQL窗格。 root@gitlab-1182173148-t47fj:/home/git/gitlab# telnet postgresql 5432 Trying 10.42.154.36… Connected to postgresql.default.svc.cluster.local. Escape character is '^]'. GitLab和PostgreSQL的部署和服务configuration: [root@cent-gluster-workstation ~]# cat […]

heroku审查应用程序:部署docker集装箱

我想创build我的开放源代码应用程序,已经有一个docker文件的审查应用程序。有没有什么办法可以编写一个app.json文件来部署一个Docker容器为审查应用程序的新请求? 或有任何方式来使用Heroku的容器registry和运行时检查应用程序?

无法使用K8S群集中的图像(在ECR中)

我试图从Kubernetes集群内的ECR存储库中提取图像,但是我无法做到这一点。 我试图创build一个秘密,并在pod文件中更新,但我不能做到这一点我得到一个错误“没有基本的身份validation凭据”。 请任何人都可以给我一步一步的说明,从Kubernetes集群内的ECR存储库中提取图像。