Skip to content

Commit

Permalink
Updates Compatibility Matrix and add docs about major movements
Browse files Browse the repository at this point in the history
  • Loading branch information
piyush-garg committed Jul 5, 2018
1 parent e542982 commit 24d4069
Showing 1 changed file with 24 additions and 5 deletions.
29 changes: 24 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ The kubernetes API defines a bunch of extensions like `daemonSets`, `jobs`, `ing
e.g. to list the jobs...

```
jobs = client.extensions().jobs().list();
jobs = client.batch().jobs().list();
```

### Loading resources from external sources
Expand Down Expand Up @@ -300,10 +300,29 @@ Then you can use the server like:

## Compatibility

| | Kubernetes 1.4.9 | Kubernetes 1.6.2 | Kubernetes 1.7.10 |
|---------------------------|------------------|------------------|-------------------|
| kubernetes-client 1.3.92 | + | + | - |
| kubernetes-client 3.0.3 | - | - ||
| | Kubernetes 1.4.9 | Kubernetes 1.6.0 | Kubernetes 1.7.0 | Kubernetes 1.9.0 |
| | | OpenShift 3.6.0 | OpenShift 3.7.0 | OpenShift 3.9.0 |
|---------------------------|------------------|------------------|-------------------|-------------------|
| kubernetes-client 1.3.92 | + | + | - | - |
| kubernetes-client 3.0.3 | - | - || - |
| kubernetes-client 3.0.10 | - ||||
| kubernetes-client 3.0.11 | - ||||
| kubernetes-client 3.1.12 | - ||||
| kubernetes-client 3.2.0 | - ||||
| Kubernetes-client 4.0.0 | - ||||

## Major Changes in Kubernetes Client 4.0.0
All the resource objects usse here will be according to OpenShift 3.9.0 and Kubernetes 1.9.0. All the resource objects will jave all the fields according to OpenShift 3.9.0 and Kubernetes 1.9.0

* SecurityContextConstraints has been moved to OpenShift client from Kubernetes Client
* Job dsl is in both `batch` and `extensions`(Extensions is deprecated)
* DaemonSet dsl is in both `apps` and `extension`(Extensions is deprecated)
* Deployment dsl is in both `apps` and `extension`(Extensions is deprecated)
* ReplicaSet dsl is in both `apps` and `extension`(Extensions is deprecated)
* NetworkPolicy dsl is in both `network` and `extension`(Extensions is deprecated)
* Storage Class moved from `client base DSL` to `storage` DSL
* PodSecurityPolicies moved from `client base DSL` and `extensions` to only `extensions`
* ThirdPartyResource has been removed.

### Tests we run for every new Pull Request
There are the links of the CircleCI and Jenkins for the tests which run for every new Pull Request. You can view all the recent builds also.
Expand Down

0 comments on commit 24d4069

Please sign in to comment.