OpenShift Container Platform 4.13 CI/CDOpenShift Container Platform 4.13 CI/CD 包含有关 OpenShift Container Platform 构建、管道和 GitOps 的信息 Last Updated: 2024-02-17 OpenShift Container Platform 4.13 CI/CD 包含有关 OpenShift Container Platform 构建、管道和 other trademarks are the property of their respective owners. 摘要 摘要 OpenShift Container Platform 的 CI/CD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 目 目录 录 第 第 1 章 章 OPENSHIFT CONTAINER PLATFORM CI/CD 概述 概述 1.1. OPENSHIFT 构建 1.2. OPENSHIFT PIPELINES 1.3. OPENSHIFT GITOPS 1.4. JENKINS 第 第 2 章 章0 码力 | 129 页 | 1.37 MB | 1 年前3
OpenShift Container Platform 4.3 架构(RHCOS) 5.1. 关于 RHCOS 5.2. 查看 IGNITION 配置文件 5.3. 安装后更改 IGNITION 配置 第 第 6 章 章 CI/CD 方法和 方法和实 实践 践 6.1. 用于集群管理和应用程序配置管理的 CI/CD 6.2. GITOPS 方法和实践 第 第 7 章 章 在 在 OPENSHIFT CONTAINER PLATFORM 中使用 中使用 ARGOCD 后续步骤 第 第 4 章 章 了解 了解 OPENSHIFT CONTAINER PLATFORM 开 开发 发 21 此时,请考虑对容器开发过程进行自动化的方法。理想情况下,您可以使用某种 CI 管道来构建镜像并将 其推送到 registry。特别是,GitOps 管道可将容器开发与 Git 存储库集成在一起,您将使用 Git 存储库来 存储构建应用程序所需的软件。 到目前为止的工作流程可能如下所示: 28 第 6 章 CI/CD 方法和实践 使用 持续的集成/持续提供 (CI/CD) 方法,您可以通过将自动化融入到应用程序开发阶段,从集成和测试 阶段到交付和部署阶段,定期向客户提供应用程序。CI/CD 进程通常被称为 "CI/CD pipeline"。 CI/CD 的 主要概念是持续集成、持续提供和连续部署。 6.1. 用于集群管理和应用程序配置管理的 CI/CD 持续集成 是开发人0 码力 | 47 页 | 1.05 MB | 1 年前3
OpenShift Container Platform 4.6 节点POD 配置 OPENSHIFT CONTAINER PLATFORM 集群 $ oc logs -f-c $ oc logs ruby-58cd97df55-mww7r $ oc logs -f ruby-57f7f4855b-znl92 -c ruby $ oc logs / 1 resourceVersion: "407" selflink: /api/v1/namespaces/default/configmaps/game-config uid: 30944725-d66e-11e5-8cd0-68f728db1985 OpenShift Container Platform 4.6 节 节点 点 84 注意 注意 如果从文件 如果从文件创 创建一个配置映射,您可以在不会破坏非 resourceVersion: "516" selflink: /api/v1/namespaces/default/configmaps/game-config-2 uid: b4952dc3-d670-11e5-8cd0-68f728db1985 第 第 2 章 章 使用 使用 POD 85 1 您可以 您可以为 为从文件中 从文件中导 导入的内容在配置映射中指定要 入的内容在配置映射中指定要设 0 码力 | 404 页 | 3.60 MB | 1 年前3
OpenShift Container Platform 4.7 更新集群Updates: VERSION IMAGE 4.1.2 quay.io/openshift-release-dev/ocp- release@sha256:9c5f0df8b192a0d7b46cd5f6a4da2289c155fd5302dec7954f8f06c878160b8b $ oc adm upgrade --to-latest=true 1 $ oc adm upgrade --to="force": false, "image": "quay.io/openshift-release-dev/ocp- release@sha256:9c5f0df8b192a0d7b46cd5f6a4da2289c155fd5302dec7954f8f06c878160b8b", "version": "4.7.0" 1 } } $ oc get clusterversion 'jsonpath={range .items[*]} {.metadata.name}{"\n"}{end}' nodes ci-ln-pwnll6b-f76d1-s8t9n-worker-a-s75z4 ci-ln-pwnll6b-f76d1-s8t9n-worker-b-dglj2 ci-ln-pwnll6b-f76d1-s8t9n-worker-c-lldbm $ oc label node 0 码力 | 62 页 | 716.72 KB | 1 年前3
OpenShift Container Platform 4.4 安装安装构建软件和容器所需的软件: # yum install podman make git -y 3. 克隆 kmod-via-containers 存储库: $ mkdir kmods; cd kmods $ git clone https://github.com/kmods-via-containers/kmods-via-containers 4. 在 RHEL 8 构建主机上安装 安装 10 $ cd kmods-via-containers/ $ sudo make install $ sudo systemctl daemon-reload 5. 获取内核模块源代码。通过源代码,可以构建一个您无法控制但由其他人提供的第三方模块。您 需要类似 kvc -simple-kmod 示例中显示的内容 ,使用以下步骤将这些内容克隆到您的系统中: $ cd .. $ git /kvc-simple-kmod 6. 编辑示例中的配置文件 simple-kmod.conf,将 Dockerfile 的名称改为 Dockerfile.rhel ,该文件 如下所示: $ cd kvc-simple-kmod $ cat simple-kmod.conf KMOD_CONTAINER_BUILD_CONTEXT="https://github.com/kmods-via-containers/kvc-0 码力 | 40 页 | 468.04 KB | 1 年前3
OpenShift Container Platform 4.7 镜像ROLES AGE VERSION ci-ln-j5cd0qt-f76d1-vfj5x-master-0 Ready master 98m v1.19.0+7070803 ci-ln-j5cd0qt-f76d1-vfj5x-master-1 Ready,SchedulingDisabled SchedulingDisabled master 99m v1.19.0+7070803 ci-ln-j5cd0qt-f76d1-vfj5x-master-2 Ready master 98m v1.19.0+7070803 ci-ln-j5cd0qt-f76d1-vfj5x-worker-b-nsnd4 Ready worker 90m v1.19.0+7070803 ci-ln-j5cd0qt-f76d1-vfj5x-worker-c-5z2gz NotReady,SchedulingDisabled worker 90m v1.19.0+7070803 ci-ln-j5cd0qt-f76d1-vfj5x-worker-d-stsjv Ready0 码力 | 123 页 | 1.20 MB | 1 年前3
OpenShift Container Platform 4.9 构建应用程序OpenShift Container Platform 中。 Pipelines:使用 Tekton 管道为 OpenShift Container Platform 上的软件交付过程创建 CI/CD 管 道。 Serverless:探索 Serverless 选项,在 OpenShift Container Platform 中创建、构建和部署无状 态和无服务器应用程序。 Channel:创建一个 username password host port type; do oc exec -it deploy/spring- petclinic -n my-petclinic -- /bin/bash -c 'cd /tmp; find /bindings/*/'$i' -exec echo -n {}:" " \; -exec cat {} \;'; echo; done /bindings/sprin $ oc new-project nodejs-ex-k $ git clone https://github.com/redhat-developer/redhat-helm-charts $ cd redhat-helm-charts/alpha/nodejs-ex-k/ apiVersion: v2 1 name: nodejs-ex-k 2 description: A Helm chart0 码力 | 184 页 | 3.36 MB | 1 年前3
OpenShift Container Platform 4.13 网络apps/router-default -c logs 2020-05-11T19:11:50.135710+00:00 router-default-57dfc6cd95-bpmk6 router-default- 57dfc6cd95-bpmk6 haproxy[108]: 174.19.21.82:39654 [11/May/2020:19:11:50.133] public be_htt type: Syslog syslog: address: 1.2.3.4 port: 10514 httpLogFormat: '%ci:%cp [%t] %ft %b/%s %B %bq %HM %HU %HV' apiVersion: operator.openshift.io/v1 kind: IngressController AGE network-check-source-ci-ln-x5sv9rb-f76d1-4rzrp-worker-b-6xdmh-to-kubernetes-apiserver- endpoint-ci-ln-x5sv9rb-f76d1-4rzrp-master-0 75m network-check-source-ci-ln-x5sv9rb-f76d1-4rzrp-worker-0 码力 | 697 页 | 7.55 MB | 1 年前3
OpenShift Container Platform 4.14 更新集群'jsonpath={range .items[*]} {.metadata.name}{"\n"}{end}' nodes ci-ln-pwnll6b-f76d1-s8t9n-worker-a-s75z4 ci-ln-pwnll6b-f76d1-s8t9n-worker-b-dglj2 ci-ln-pwnll6b-f76d1-s8t9n-worker-c-lldbm $ oc label node= $ oc label node ci-ln-0qv1yp2-f76d1-kl2tq-worker-a-j2ssz node- role.kubernetes.io/workerpool-canary= node/ci-ln-gtrwm8t-f76d1-spbl7-worker-a-xk76k labeled apiVersion: node-role.kubernetes.io/ - $ oc label node ci-ln-0qv1yp2-f76d1-kl2tq-worker-a-j2ssz node- role.kubernetes.io/workerpool-canary- node/ci-ln-0qv1yp2-f76d1-kl2tq-worker-a-j2ssz labeled $oc get 0 码力 | 149 页 | 1.94 MB | 1 年前3
OpenShift Container Platform 4.10 构建应用程序OpenShift Container Platform 中。 Pipelines:使用 Tekton 管道为 OpenShift Container Platform 上的软件交付过程创建 CI/CD 管 道。 Serverless:探索 Serverless 选项,在 OpenShift Container Platform 中创建、构建和部署无状 态和无服务器应用程序。 Channel:创建一个 username password host port type; do oc exec -it deploy/spring- petclinic -n my-petclinic -- /bin/bash -c 'cd /tmp; find /bindings/*/'$i' -exec echo -n {}:" " \; -exec cat {} \;'; echo; done /bindings/sprin $ oc new-project nodejs-ex-k $ git clone https://github.com/redhat-developer/redhat-helm-charts $ cd redhat-helm-charts/alpha/nodejs-ex-k/ apiVersion: v2 1 name: nodejs-ex-k 2 description: A Helm chart0 码力 | 198 页 | 3.62 MB | 1 年前3
共 49 条
- 1
- 2
- 3
- 4
- 5













