【问题标题】:OCP - Jenking persistent - old version?OCP - Jenking 持久 - 旧版本?
【发布时间】:2020-11-17 00:53:13
【问题描述】:

我有一个在 IBM 云上运行的 OCP 4.4.11。 我决定安装由 RedHat 提供的 jenkins-persistent。但是安装的版本是 2.222.1,我会说它已经很老了。可以更新到最新的吗?

jenkins 图像本身似乎来自 openshift 的图像流:

kind: ImageStream
apiVersion: image.openshift.io/v1
metadata:
  annotations:
    openshift.io/display-name: Jenkins
    openshift.io/image.dockerRepositoryCheck: '2020-07-27T14:15:11Z'
    samples.operator.openshift.io/version: 4.4.11
  selfLink: /apis/image.openshift.io/v1/namespaces/openshift/imagestreams/jenkins
  resourceVersion: '9085485'
  name: jenkins
  uid: ac909c0b-072e-43bc-a1b6-4e7b31aea5b5
  creationTimestamp: '2020-06-30T09:35:08Z'
  generation: 79
  namespace: openshift
  labels:
    samples.operator.openshift.io/managed: 'true'
spec:
  lookupPolicy:
    local: false
  tags:
    - name: '2'
      annotations:
        description: >-
          Provides a Jenkins 2.X server on RHEL 7. For more information about
          using this container image, including OpenShift considerations, see
          https://github.com/openshift/jenkins/blob/master/README.md.
        iconClass: icon-jenkins
        openshift.io/display-name: Jenkins 2.X
        openshift.io/provider-display-name: 'Red Hat, Inc.'
        tags: jenkins
        version: 2.x
      from:
        kind: DockerImage
        name: >-
          quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:30afdb96156bc98c67f07dbdfb1878cffca84daf9fd0869187cd2c7ad627a995
      generation: 77
      importPolicy: {}
      referencePolicy:
        type: Local

来自 YAML 的链接:https://github.com/openshift/jenkins/blob/master/README.md

感谢您的任何指点。

【问题讨论】:

    标签: jenkins openshift


    【解决方案1】:

    OCP 提供的 Jenkins 映像基于 Jenkins LTS 发布

    (几乎)每次升级OCP,Jenkins的镜像和版本都会升级,所以不建议玩部署。 OCP Jenkins 镜像嵌入了许多有用的插件。如果插件与 Jenkins 版本兼容,您可以安全地从 Jenkins UI 升级插件(如果不兼容,UI 会告诉您)

    无论如何,没有什么会强迫您使用随 OCP 提供的 Jenkins 映像,您可以部署自己的 Jenkins 风格并添加与 OCP 本身交互所需的插件(Kubernetes 插件、OCP 插件、为 jenkins 配置 OIDC 到 OCP等)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-10-29
      • 1970-01-01
      • 1970-01-01
      • 2014-06-15
      • 1970-01-01
      • 2021-11-10
      • 2020-12-19
      • 1970-01-01
      相关资源
      最近更新 更多