Skip to content

Commit 1783db2

Browse files
authored
Merge pull request #1002 from oracle/release/2.1
Version 2.1
2 parents a008493 + b8427b2 commit 1783db2

File tree

684 files changed

+20433
-10277
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

684 files changed

+20433
-10277
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ Oracle is finding ways for organizations using WebLogic Server to run important
2121
The fastest way to experience the operator is to follow the [Quick Start guide](https://oracle.github.io/weblogic-kubernetes-operator/quickstart/), or you can peruse our [documentation](https://oracle.github.io/weblogic-kubernetes-operator), read our [blogs](https://blogs.oracle.com/weblogicserver/updated-weblogic-kubernetes-support-with-operator-20), or try out the [samples](https://oracle.github.io/weblogic-kubernetes-operator/samples/).
2222

2323
***
24-
The [current release of the operator](https://github.com/oracle/weblogic-kubernetes-operator/releases) is 2.0.1.
25-
This release was published on March 4, 2019.
24+
The [current release of the operator](https://github.com/oracle/weblogic-kubernetes-operator/releases) is 2.1.
25+
This release was published on April 4, 2019.
2626
***
2727

2828
# Documentation

buildtime-reports/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>operator-parent</artifactId>
77
<groupId>oracle.kubernetes</groupId>
8-
<version>2.0.1</version>
8+
<version>2.1</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

docs-source/content/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ Oracle is finding ways for organizations using WebLogic Server to run important
1717
The fastest way to experience the operator is to follow the [Quick Start guide]({{< relref "/quickstart/_index.md" >}}), or you can peruse our [documentation]({{< relref "/userguide/_index.md" >}}), read our [blogs](https://blogs.oracle.com/weblogicserver/updated-weblogic-kubernetes-support-with-operator-20), or try out the [samples]({{< relref "/samples/_index.md" >}}).
1818

1919
***
20-
The [current release of the operator](https://github.com/oracle/weblogic-kubernetes-operator/releases) is 2.0.1.
21-
This release was published on March 4, 2019.
20+
The [current release of the operator](https://github.com/oracle/weblogic-kubernetes-operator/releases) is 2.1.
21+
This release was published on April 4, 2019.
2222
***
2323

2424
#### Operator earlier versions

docs-source/content/developerguide/backwards-compatibility.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ draft: false
55
weight: 9
66
---
77

8-
Starting with the 2.0 release, future operator releases must be backward compatible with respect to the domain resource schema, operator Helm chart input values, configuration overrides template, Kubernetes resources created by the operator Helm chart, Kubernetes resources created by the operator, and the operator REST interface. We will maintain compatibility for three releases, except in the case of a clearly communicated deprecated feature, which will be maintained for one release after a replacement is available.
8+
Starting with the 2.0.1 release, operator releases must be backward compatible with respect to the domain resource schema, operator Helm chart input values, configuration overrides template, Kubernetes resources created by the operator Helm chart, Kubernetes resources created by the operator, and the operator REST interface. We will maintain compatibility for three releases, except in the case of a clearly communicated deprecated feature, which will be maintained for one release after a replacement is available.

docs-source/content/developerguide/documentation.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,31 +5,31 @@ draft: false
55
weight: 9
66
---
77

8-
This documentation is produced using [Hugo](http://gohugo.io). To make an
8+
This documentation is produced using [Hugo](http://gohugo.io). To make an
99
update to the documentation, follow this process:
1010

11-
1. Clone the repository if you have not already
11+
1. If you have not already done so, clone the repository.
1212

1313
```
1414
git clone https://github.com/oracle/weblogic-kubernetes-operator
1515
```
1616
17-
2. Create a new branch from master
17+
2. Create a new branch from master.
1818
1919
```
2020
git checkout master
2121
git pull origin master
2222
git checkout -b your-branch
2323
```
2424
25-
3. Make your documentation updates by editing the source files in
25+
3. Make your documentation updates by editing the source files in
2626
`docs-source/content`.
2727
{{% notice note %}}
28-
Make sure you only check in the changes from the `docs-source/content` area;
28+
Make sure you _only_ check in the changes from the `docs-source/content` area;
2929
do not build the site and check in the static files.
3030
{{% /notice %}}
3131
32-
4. If you wish to view your changes you can run the site locally using
32+
4. If you wish to view your changes, you can run the site locally using
3333
these commands; the site will be available on the URL shown here:
3434
3535
```
@@ -38,7 +38,6 @@ these commands; the site will be available on the URL shown here:
3838
```
3939
4040
5. When you are ready to submit your changes, push your branch to `origin`
41-
and submit a pull request. Remember to follow the guidelines in the
41+
and submit a pull request. Remember to follow the guidelines in the
4242
[CONTRIBUTING](https://github.com/oracle/weblogic-kubernetes-operator/blob/master/CONTRIBUTING.md)
4343
document.
44-

docs-source/content/faq/cannot-pull-image.md

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -6,59 +6,59 @@ draft: false
66

77
> My domain will not start and I see errors like `ImagePullBackoff` or `Cannot pull image`
88
9-
When you see these kinds of errors it means that Kubernetes cannot find your Docker image.
10-
The most common causes are:
9+
When you see these kinds of errors, it means that Kubernetes cannot find your Docker image.
10+
The most common causes are:
1111

12-
* The `image` value in your domain resource is set incorrectly, meaning Kubernetes will be
13-
trying to pull the wrong image
14-
* The image requires authentication or permission in order to pull it and you have not
15-
configured Kubernetes with the necessary credentials, for example in an `imagePullSecret`
12+
* The `image` value in your domain resource is set incorrectly, meaning Kubernetes will be
13+
trying to pull the wrong image.
14+
* The image requires authentication or permission in order to pull it and you have not
15+
configured Kubernetes with the necessary credentials, for example in an `imagePullSecret`.
1616
* You built the image on a machine that is not where your `kubelet` is running and Kubernetes
17-
cannot see the image, meaning you need to copy the image to the worker nodes or put it in
18-
a Docker registry that is accessible the to all of the worker nodes
17+
cannot see the image, meaning you need to copy the image to the worker nodes or put it in
18+
a Docker registry that is accessible the to all of the worker nodes.
1919

2020
Let's review what happens when Kubernetes starts a pod.
2121

2222
![Pulling an image](/weblogic-kubernetes-operator/images/image-pull.png)
2323

24-
The definition of the pod contains a list of container specifications. Each container
25-
specificiation contains the name (and optionally tag) of the image that should be used
24+
The definition of the pod contains a list of container specifications. Each container
25+
specification contains the name (and optionally, tag) of the image that should be used
2626
to run that container. In the example above, there is a container called `c1` which is
2727
configured to use the Docker image `some.registry.com/owner/domain1:1.0`. This image
28-
name is in the format `registry address / owner / name : tag`, so in this case the
29-
registry is `some.registry.com`, then owner is `owner`, the image name is `domain`
30-
and the tag is `1.0`. Tags are a lot like version numbers, but they are not required
31-
to be numbers or to be in any particular sequence or format. If you omit the tag, it
28+
name is in the format `registry address / owner / name : tag`, so in this case the
29+
registry is `some.registry.com`, the owner is `owner`, the image name is `domain`
30+
and the tag is `1.0`. Tags are a lot like version numbers, but they are not required
31+
to be numbers or to be in any particular sequence or format. If you omit the tag, it
3232
is assumed to be `latest`.
3333

3434
{{% notice note %}}
35-
The Docker tag `latest` is confusing - it does not actually mean the latest version of
36-
the image that was created or published in the registry, it just literally means
37-
whichever version the owner decided to call "latest". Docker and Kubernetes make
35+
The Docker tag `latest` is confusing - it does not actually mean the latest version of
36+
the image that was created or published in the registry; it just literally means
37+
whichever version the owner decided to call "latest". Docker and Kubernetes make
3838
some assumptions about latest, and it is generally recommended to avoid using it and instead
39-
specify the actual version/tag that you really want.
39+
specify the actual version/tag that you really want.
4040
{{% /notice %}}
4141

42-
First, Kubernetes will check to see if the requested image is available in the local
42+
First, Kubernetes will check to see if the requested image is available in the local
4343
Docker image store on whichever worker node the pod was scheduled on. If it is there,
4444
then it will use that image to start the container. If it is not there, then Kubernetes
4545
will attempt to pull the image from a remote Docker registry.
4646

4747
{{% notice note %}}
48-
There is another setting called `imagePullPolicy` that can be used to force Kubernetes
49-
to always pull the image, even if it is already present in the local Docker image
48+
There is another setting called `imagePullPolicy` that can be used to force Kubernetes
49+
to always pull the image, even if it is already present in the local Docker image
5050
store.
5151
{{% /notice %}}
5252

53-
If the image is available in the remote registry and it is public, that is it does not
53+
If the image is available in the remote registry and it is public, that is it does not
5454
require authentication, then Kubernetes will pull the image to the local Docker image
55-
store and start the container.
55+
store and start the container.
5656

5757
#### Images that require authentication
5858

5959
If the remote Docker registry requires authentication, then you will need to provide
6060
the authentication details in a Kubernetes `docker-registry` secret and tell Kubernetes
61-
to use that secret when pulling the image.
61+
to use that secret when pulling the image.
6262

6363
To create a secret, you can use the following command:
6464

@@ -73,7 +73,7 @@ kubectl create secret docker-registry secret1 \
7373

7474
In this command, you would replace `secret1` with the name of the secret; the `docker-server`
7575
is set to the registry name, without the `https://` prefix; the `docker-username`, `docker-password`
76-
and `docker-email` are set to match the credentials you use to authenticate to the remote
76+
and `docker-email` are set to match the credentials you use to authenticate to the remote
7777
Docker registry; and the `namespace` must be set to the same namespace where you intend to
7878
use the image.
7979

@@ -82,11 +82,11 @@ Some registries may need a suffix making the `docker-server` something like `som
8282
for example. You will need to check with your registry provider's documentation to see if this is needed.
8383
{{% /notice %}}
8484

85-
After the secret is created, you need to tell Kubernetes to use it. This is done by adding
86-
an `imagePullSecret` to your Kubernetes YAML file. In the case of a WebLogic domain, you
85+
After the secret is created, you need to tell Kubernetes to use it. This is done by adding
86+
an `imagePullSecret` to your Kubernetes YAML file. In the case of a WebLogic domain, you
8787
add the secret name to the `imagePullSecret` in the domain custom resource YAML file.
8888

89-
Here is an example of part of a domain custom resource file with the `imagePullSecret` above
89+
Here is an example of part of a domain custom resource file with the `imagePullSecret` above
9090
specified:
9191

9292
```
@@ -107,7 +107,7 @@ spec:
107107
- name: secret1
108108
```
109109

110-
Alternatively, you can associate the secret with the service account that will be used to run
110+
Alternatively, you can associate the secret with the service account that will be used to run
111111
the pod. If you do this, then you will not need to add the `imagePullSecret` to the domain
112112
resource. This is useful if you are running multiple domains in the same namespace.
113113

@@ -121,17 +121,17 @@ kubectl patch serviceaccount default \
121121
```
122122

123123
{{% notice note %}}
124-
You can provide mutliple `imagePullSecrets` if you need to pull Docker images from multiple
124+
You can provide mutliple `imagePullSecrets` if you need to pull Docker images from multiple
125125
remote Docker registries or if your images require different authentication credentials.
126126
For more information, see [Docker Image Protection]({{<relref "/security/domain-security/image-protection.md#weblogic-domain-in-docker-image-protection">}})
127127
under **Security**.
128128
{{% /notice %}}
129129

130130
#### Manually copying the image to your worker nodes
131131

132-
If you are not able to use a remote Docker registry, for example if your Kubernetes cluster is
132+
If you are not able to use a remote Docker registry, for example if your Kubernetes cluster is
133133
in a secure network with no external access, you can manually copy the Docker images to the
134-
cluster instead.
134+
cluster instead.
135135

136136
On the machine where you created the image, export it into a tar file using this command:
137137

@@ -149,5 +149,5 @@ docker load < domain1.tar
149149
#### Restart pods to clear the error
150150

151151
After you have ensured that the images are accessible on all worker nodes, you may need to restart
152-
the pods so that Kubernetes will attempt to pull the images again. You can do this by
153-
deleting the pods themselves, or deleting the domain resource and then recreating it.
152+
the pods so that Kubernetes will attempt to pull the images again. You can do this by
153+
deleting the pods themselves, or deleting the domain resource and then recreating it.

docs-source/content/quickstart/get-images.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ and accept the license agreement for the [WebLogic Server image](https://hub.doc
1919
1. Pull the operator image:
2020

2121
```bash
22-
$ docker pull oracle/weblogic-kubernetes-operator:2.0.1
22+
$ docker pull oracle/weblogic-kubernetes-operator:2.1
2323
```
2424

2525
1. Pull the Traefik load balancer image:

docs-source/content/quickstart/install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ $ helm install stable/traefik \
5757
$ helm install kubernetes/charts/weblogic-operator \
5858
--name sample-weblogic-operator \
5959
--namespace sample-weblogic-operator-ns \
60-
--set image=oracle/weblogic-kubernetes-operator:2.0.1 \
60+
--set image=oracle/weblogic-kubernetes-operator:2.1 \
6161
--set serviceAccount=sample-weblogic-operator-sa \
6262
--set "domainNamespaces={}" \
6363
--wait

docs-source/content/quickstart/prerequisites.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ The operator uses Helm to create and deploy the necessary resources and then run
1111

1212
You should clone this repository to your local machine so that you have access to the
1313
various sample files mentioned throughout this guide:
14-
```
14+
```bash
1515
$ git clone https://github.com/oracle/weblogic-kubernetes-operator
1616
```

docs-source/content/recent-changes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ This document tracks recent changes to the operator, especially ones that introd
1010

1111
| Date | Version | Introduces backward incompatibilities | Change |
1212
| --- | --- | --- | --- |
13+
| April 4, 2019 | v2.1 | no | Customers can add init and sidecar containers to generated pods.
1314
| March 4, 2019 | v2.0.1 | no | OpenShift support is now certified. Many bug fixes, including fixes for configuration overrides, cluster services, and domain status processing.
1415
| January 24, 2019 | v2.0 | yes; not compatible with 1.x releases, but is compatible with 2.0-rc2. | Final version numbers and documentation updates.
1516
| January 16, 2019 | v2.0-rc2 | yes | Schema updates are completed, and various bugs fixed.

0 commit comments

Comments
 (0)