origin

openshiftApache-2.0活跃维护

OpenShift 的一致性测试套件,用来验证 OpenShift 集群是否符合规范,帮你在 CI 里跑端到端测试确认部署没问题。

Conformance test suite for OpenShift

v3.11.0发布于 2018-10-11 15:53 UTC8,691star4,808fork同步于 2026-11-10 05:31 UTC

怎么上手

README 里没有找到可直接复制的安装命令

README 里没有找到可直接复制的安装命令,请到 README 或官方文档查看安装方式。

硬件要求

README 没有说明硬件要求。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

这个项目的说明还在生成中,先参考下面「最近发版」和 README。

最近发版

5 个版本v3.11.0
  1. v3.11.0最新正式版2018-10-11 · 2018-10-11 15:53 UTC

    This is the 3.11 release of OpenShift Origin.

    Backwards Compatibility

    • auth: The auth reconcile command is now deprecated as its functionality is part of the server #20177
      • The CLI command is now identical to the upstream auth reconcile and no longer updates roles
    • auth: The cluster-reader RBAC role is now an aggregated role to simplify adding new permissions #20279
    • cli: oc patch is now consistent with the kubectl patch command #20665
    • cli: oc types is now deprecated - use oc api-resources instead #21000
    • security: If the scheduler.alpha.kubernetes.io/node-selector annotion is set on a namespace, openshift.io/node-selector is now ignored #21058
    • server: The openshift start node functionality and openshift start have been removed - the Kubelet must now be started directly #20344, #20717
      • By using the Kubelet directly we make nodes easier to manage and more consistent with the upstream.
      • Future releases will remove other parts of openshift start master.

    Changes

    Roadmap for the v3.11 release

    v3.11.0 (2018-10-10) Full Changelog

    API

    • build: Allow dashes to be used in the environment variable names in builds #20738
    • image: Return information about image layers that are associated with an image stream to improve registry performance #19969, #20643
    • security: Promote sysctl annotations to fields in SecurityContextConstraints #20151

    Component updates

    • Updated to Kubernetes v1.11.0-62-gd4cacc0 + patches
      • 62943: set updated replicas in statefulsets #20347
      • 64378: Don't reset global timeout on each for loop iteration #20452
      • 64426: Clean up fake mounters. #20117
      • 64447: Add block volume support to internal provisioners #20058
      • 64541: Add more kubectl auth reconcile flags #20281
      • 64860:checkLimitsForResolvConf for the pod create and update events instead of checking period #20070
      • 64879: Add block volume support to Cinder volume plugin #20270
      • 64896: kubectl: wait for all errors and successes on podEviction #20452
      • 65189: fix paths w shortcuts when copying from pods #20034
      • 65189: revert: fix paths w shortcuts when copying from pods" #20075
      • 65226: Put all the node address cloud provider retrival complex logic into cloudResourceSyncManager #20615
      • 65238: fix scheduler port boundary to match detection #20033
      • 65326: fix printer check to tolerate vendoring #20033
      • 65329: make builder tolerant of restmapper failures when it doesn't need the answer
  2. v3.10.02018-08-03 · 2018-08-03 02:42 UTC
    查看更新说明

    This is the official release of OpenShift Origin v3.10.

    Changes

    Roadmap for the v3.10 release

    v3.10.0 (2018-08-02) Full Changelog

    Component updates

    • Updates to Kubernetes
      • 62085: Fix incorrect atomic counter usage #20206
      • 62943: Set updated replicas on stateful set status #20350
      • 64658: Avoid leading gRPC connections in CSI #20111
      • 64882: Prevent deleted pods from sometimes leaving mounts #20111
      • 64971: Ensure mutating admission webhooks correctly remove fields #20509
      • 65223: Correctly detect inaccessible AWS encryption key #20072
      • 65226: Store the latest cloud provider node addresses on the node #20369
      • 65339: Prevent leak of a cached pod definition in the scheduler #20071
      • 66350: Prevent kubelet from becoming stuck retrieving node addresses from a cloud provider #20369

    Bugs

    • router: [release-3.10] Allow egress-router to connect to cluster service network for DNS, etc. #20102
    • diagnostics: Fix default image paths used in network diagnostics #20116
    • volumes: Bind mount /etc/origin/kubelet-plugins for flex volumes #20153
    • node: Honor --kubelet-preferred-address-types #20183
    • apiserver: Use in-process loopback client config from Kube #20207
    • image: Install ceph-common in control plane so RBD provisioner can find disks #20222
    • build: Fix an issue where COPY --from would not work on multi-stage image builds #20256
    • console: Change logo, favicon, name on login page #20528

    Artifacts

    • Images are published to the Docker Hub as openshift/origin-*:v3.10.0.
    • RPMs are available via the provided origin.repo file

    Release SHA256 Checksums

    0f54235127884309d19b23e8e64e347f783efd6b5a94b49bfc4d0bf472efb5b8  ./openshift-origin-client-tools-v3.10.0-dd10d17-linux-64bit.tar.gz
    6973aebb7b553866f8971c8ca324dd5b79204e2a59c5234cde6fb1b5deb4c7a9  ./openshift-origin-server-v3.10.0-dd10d17-linux-64bit.tar.gz
    ae847e3ae278b9420342e651305d34f1ed806b55a23874fc47595a57874e30c6  ./openshift-origin-client-tools-v3.10.0-dd10d17-mac.zip
    c1b33aa535b88898d0622e0af2aa673bb814c354fb438c21c18155afc51acf87  ./openshift-origin-client-tools-v3.10.0-dd10d17-windows.zip
    23083baadc7b82b6a3998016b795497d9c33327e1985a3b37181cf0e6200d29a  ./CHECKSUM
    
  3. v3.10.0-rc.0pre-release2018-06-20 · 2018-06-20 01:41 UTC
    查看更新说明

    This is the first release candidate of OpenShift Origin 3.10.

    Backwards Compatibility

    • Moving from legacy API resources (/oapi) to group resources
      • The server process endpoint now creates resources in the new group APIs (*.openshift.io) #19458
      • The RBAC bootstrap policy file is now saved as rbac.authorization.k8s.io/v1 resources #19756
    • Configuration changes
      • The disabledFeatures configuration item has been removed from master config #19070
      • Master configuration no longer requires the deprecated clusterNetworkCIDR/hostSubnetLength fields to be set in networkConfig #18669
      • Some node default values have changed #19190
        • Remove the default pods-per-core setting of 10, which makes nodes default to 250 pods total.
        • The certificate signing controller defaults to creating certs with a 1 year expiration (a7bd9d6f5f)
    • rbac: Project editors can no longer create or update daemonsets, which prevents tenants from impacting cluster stability #18971
    • Metrics for the template instance broker have changed #19133
    • Moved or deleted content #19262
      • The examples/ directory has been cleaned up
      • The v1 federation implementation has been removed as it did not graduate to beta.
      • The node.service systemd file has been removed from hte RPMS, along with the master services (2113900746)
    • Changes to OpenShift images #19509
      • As we prepare to split the OpenShift API server into multiple binaries, several new images have been created:
        • openshift/origin-hypershift - A new hypershift binary that launches OpenShift specific components
        • openshift/origin-hyperkube - The Kubernetes hyperkube binary
        • openshift/origin-cli - The OpenShift CLI oc
        • openshift/origin-tests - The extended test suite for OpenShift
      • Some existing images have been renamed
        • openshift/origin is now openshift/origin-control-plane
        • openshift/node is now openshift/origin-node
      • The openshift/openvswitch image has been folded into openshift/origin-node
      • A new binary openshift-node-config takes a node-config.yaml file and converts it to kubelet arguments in the openshift/origin-node image
    • CLI changes
      • Some client-side deletion support has been removed in favor of the controller-driven deletion mechanisms #19616
      • oc export is deprecated and oc get --export should be used instead.
    • The router has separate liveness and readiness probes for use with upstream load balancers #19009
    • XFS quota for emptyDir volumes is now configured via a config file in the volume directory #19533
    • Changes to oc cluster up
      • The cluster launched by oc cluster up is now launched as a set of individual processes running in images, instead of the previous single large container. This more closely mimics real production environments.
      • Docker machine support in oc cluster up has been removed
      • oc cluster up now only supports launching a cluster of the same version as the oc binary.

    Changes

    Roadmap for the v3.10 release

    v3.10.0-rc.0 (2018-06-19) Full Changelog

    API

    Ingress support

    In order to better adapt ingress objects to ro

  4. v3.9.02018-03-30 · 2018-03-30 23:30 UTC
    查看更新说明

    This is the official feature release of OpenShift Origin.

    Changes

    Roadmap for the v3.9 release

    v3.9.0 (2018-03-30) Full Changelog

    Component updates

    • Updates to Kubernetes
      • 51042: Allow passing request-timeout from NewRequest all the way down #13701
      • 52324: Fix bug on kubelet failure to umount mount points. #18225
      • 54530: api: validate container phase transitions #18792
      • 56164: Split out a KUBE-EXTERNAL-SERVICES chain so we don't have to run KUBE-SERVICES from INPUT #18754
      • 56288: Add list of pods that use a volume to multiattach events #18290
      • 56315: Record volumeID in GlusterFS PV spec UPSTREAM: 56823: Add volID based delete() and resize() if volID is available in pv spec UPSTREAM: 57516: Add custom volume name based on SC parameter UPSTREAM: 58513: Add Namespace to glusterfs custom volume names UPSTREAM: 58626: Use correct pv annotation to fetch volume ID #18326
      • 56432: e2e: test containers projected volume updates should not exit #18387
      • 56846: Fix Cinder detach problems #18140
      • 56872: Fix event generation #18442
      • 57202: Fix format string in describers #18853
      • 57336: Abstract some duplicated code in the iptables proxier #18754
      • 57461: Don't create no-op iptables rules for services with no endpoints #18754
      • 57480: Fix build and test errors from etcd 3.2.13 upgrade #18731
      • 57854: fix bug of swallowing missing merge key error #18331
      • 57967: Fixed TearDown of NFS with root squash. #18154
      • 58177: Redesign and implement volume reconstruction work #18554
      • 58316: set fsGroup by securityContext.fsGroup in azure file #18526
      • 58375: Recheck if transformed data is stale when doing live lookup during update #18530
      • 58415: Improve messaging on resize #18509
      • 58439: Fix loading structured admission plugin config #18529
      • 58439: Surface error loading admission plugin config #18529
      • 58522: Clean up error messages for pre-bound PVCs #18284
      • 58533: add suggestion to describe pod for container names #18178
      • 58574: fixing array out of bound by checking initContainers instead of containers #18403
      • 58617: Make ExpandVolumeDevice() idempotent if existing volume capacity meets the requested size #18432
      • 58685: Fill size attribute for the OpenStack V3 API volumes #18237
      • 58720: Ensure that the runtime mounts RO volumes read-only #18255
      • 58739: Don't bind PVs and PVCs with differen
  5. v3.7.22018-03-16 · 2018-03-16 19:56 UTC
    查看更新说明

    This is a patch release of OpenShift Origin.

    Changes

    v3.7.2 (2018-03-16) Full Changelog

    Component updates

    • Updates to Kubernetes
      • 49624: Add daemonset to all categories #18478
      • 53690: Fix hpa scaling above max replicas w/ scaleUpLimit #18216
      • 54701: Refactor reconcileAutoscaler method in hpa #18216
      • 55631: Parse and return the last line in the log even if it is partial #17546
      • 57422: Rework method of updating atomic-updated data volumes #18167
      • 57967: Fixed TearDown of NFS with root squash. #18954
      • 58301: Limit all category to apps group for ds/deployment/replicaset #18478
      • 58572: Automated cherry pick of #58547: Send correct resource version for delete events from watch #18246
      • 58720: Ensure that the runtime mounts RO volumes read-only #18954
      • 60342: Fix nested volume mounts for read-only API data volumes #18954
      • 61047: Lock subPath volumes #18954
      • 61109: Detect backsteps correctly in base path detection #18954
      • 61196: bugfix(mount): lstat with abs path of parent instead of '/..' #18954
      • Revert "UPSTREAM: 53916: update .dockercfg data to config.json format" #18062

    Bugs

    • auth: Fix issues with oc adm migrate authorization #18221
    • migrate: handle NotFound via resource matching and during conflicts #18287
    • server: Include proto swagger document in discovery #18309
    • server: Don't expose oapi types as 'all' #18478
    • deployments: Correctly trigger DC trigger reconciliation on image change release #18524
    • build: Correctly set selinux labels for build containers #17546

    Release SHA256 Checksums

    abc89f025524eb205e433622e59843b09d2304cc913534c4ed8af627da238624  ./openshift-origin-client-tools-v3.7.2-282e43f-linux-64bit.tar.gz
    74933671b886f790dbf83edfba25a522851244c37a586dc491a39ebf30ece893  ./openshift-origin-server-v3.7.2-282e43f-linux-64bit.tar.gz
    8ae2f51cdde5c76a33add98c64efc30f11f5c0fbd1dacc5ae5d0f147b96f7d18  ./openshift-origin-client-tools-v3.7.2-282e43f-mac.zip
    45e525b751d7659e05adfbd005851cdeb769df511cfe38f5e45c0dfed854e784  ./openshift-origin-client-tools-v3.7.2-282e43f-windows.zip
    

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Origin Kubernetes

    Go Report Card GoDoc Licensed under Apache License version 2.0

    This repo was previously the core Kubernetes tracking repo for OKD, and where OpenShift's hyperkube and openshift-test binaries were maintained. As of July 2020, the purpose and maintenance strategy of the repo varies by branch.

    Maintenance of main and release-x.x branches for 4.6 and above

    These branches no longer include the code required to produce hyperkube binaries, and are limited to maintaining the openshift-tests binary. Responsibility for maintaining hyperkube has transitioned to the openshift/kubernetes repo.

    Backports and carries against upstream should be proposed to openshift/kubernetes. If changes merged to openshift/kubernetes need to land in origin, it will be necessary to follow up with a PR to origin that bumps the vendoring.

    Branch names are correlated across the 2 repositories such that changes merged to a given branch in openshift/kubernetes should be vendored into the same branch in origin (e.g. master in openshift/kubernetes is vendored into main in origin).

    NOTE: Vendoring of the main and release-x.x branches of openshift/kubernetes into the equivalent branches in origin is intended to be temporary. At some point in the near future, origin will switch to vendoring origin-specific branches (e.g origin-4.6-kubernetes-1.19.2) to minimize the scope of backports and carries that need to be considered in the context of openshift/kubernetes rebases.

    Test exclusion rules

    Test exclusion is now handled through environmental selector based filtering rather than test annotations. Environmental selectors allow tests to be filtered or skipped based on the cluster environment and configuration. For example, selectors can be defined that match kube e2e tests that are known to be incompatible with specific OpenShift configurations and exclude those tests from running.

    Maintenance of test exclusion rules is split between the openshift/kubernetes and origin repos to ensure that PRs proposed to openshift/kubernetes can be validated against the set of kube e2e tests known to be compatible with OpenShift.

    Test exclusion rules for kubernetes e2e tests are maintained in: https://github.com/openshift/kubernetes/blob/master/openshift-hack/cmd/k8s-tests-ext:

    Test exclusion rules for openshift e2e tests are maintained in: https://github.com/openshift/origin/blob/main/pkg/test/extensions:

    To update test exclusion rules for kube e2e tests, update the environmental selectors in openshift/kubernetes. For OpenShift e2e tests, update the selectors in origin.

    Vendoring from openshift/kubernetes

    These origin branches vendor k8s.io/kubernetes and some of its staging repos (e.g. k8s.io/api) from our openshift/kubernetes fork. Upstream staging repos are used where possible, but some tests depends on functionality that is only present in the fork.

    When a change has merged to an openshift/kubernetes branch that needs to be vendored into the same branch in origin, the hack/update-kube-vendor.sh helper script simplifies updating the go module configuration for all dependencies sourced from openshift/kubernetes for that branch. The script requires either the name of a branch or a SHA from openshift/kubernetes:

    $ hack/update-kube-vendor.sh <openshift/kubernetes branch name or SHA>
    

    The script also supports performing a fake bump to validate an as-yet unmerged change to openshift/kubernetes. This can be accomplished by supplying the name of a fork repo as the second argument to the script:

    $ hack/update-kube-vendor.sh <branch name or SHA> github.com/myname/kubernetes
    

    Once the script has executed, the vendoring changes will need to be committed and proposed to the repo.

    Working around '410 Gone' error

    If the script returns '410 Gone' as per the error that follows, it may be that the golang checksum server does not yet know about the target SHA.

    go: k8s.io/[email protected] (replaced by github.com/openshift/[email protected]): verifying go.mod: g
    ithub.com/openshift/[email protected]/go.mod: reading https://sum.golang.org/lookup/github.com/openshif
    t/[email protected]: 410 Gone
            server response: not found:
    

    The workaround is to set GOSUMDB=off to disable the checksum database for the vendoring update:

    $ GOSUMDB=off hack/update-kube-vendor.sh <branch name or SHA>
    

    Maintenance of release-4.5, release-4.4 and release-4.3

    Releases prior to 4.6 continue to maintain hyperkube in the origin repo in the release-4.x branches. Persistent carries and backports for those branches should continue to be submitted directly to origin. openshift/kubernetes is not involved except for rebases.

    End-to-End (e2e) and Extended Tests

    End to end tests (e2e) should verify a long set of flows in the product as a user would see them. Two e2e tests should not overlap more than 10% of function and are not intended to test error conditions in detail. The project examples should be driven by e2e tests. e2e tests can also test external components working together.

    All e2e tests are compiled into the openshift-tests binary. To build the test binary, run make.

    To run a specific test, or an entire suite of tests, read test/extended/README for more information.

    Updating external examples

    hack/update-external-example.sh will pull down example files from external repositories and deposit them under the examples directory. Run this script if you need to refresh an example file, or add a new one. See the script and examples/quickstarts/README.md for more details.