Skip to content

Commit fb72141

Browse files
authored
Merge pull request kubernetes-client#1657 from Akasurde/misc
Misc typo fixes
2 parents 24e6e8f + 50b9212 commit fb72141

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ supported versions of Kubernetes clusters.
9292
- [client 20.y.z](https://pypi.org/project/kubernetes/20.13.0/): Kubernetes 1.19 or below (+-), Kubernetes 1.20 (✓), Kubernetes 1.21 or above (+-)
9393
- [client 21.y.z](https://pypi.org/project/kubernetes/21.7.0/): Kubernetes 1.20 or below (+-), Kubernetes 1.21 (✓), Kubernetes 1.22 or above (+-)
9494

95-
> See [here](#homogenizing-the-kubernetes-python-client-versions) for an explaination of why there is no v13-v16 release.
95+
> See [here](#homogenizing-the-kubernetes-python-client-versions) for an explanation of why there is no v13-v16 release.
9696
9797
Key:
9898

@@ -138,7 +138,7 @@ between client-python versions.
138138
| 21.0 Alpha/Beta | Kubernetes main repo, 1.21 branch ||
139139
| 21.0 | Kubernetes main repo, 1.21 branch ||
140140

141-
> See [here](#homogenizing-the-kubernetes-python-client-versions) for an explaination of why there is no v13-v16 release.
141+
> See [here](#homogenizing-the-kubernetes-python-client-versions) for an explanation of why there is no v13-v16 release.
142142
143143
Key:
144144

@@ -155,7 +155,7 @@ Note: There would be no maintenance for alpha/beta releases except the latest on
155155

156156
The client releases v12 and before following a versioning schema where the major version was 4 integer positions behind the Kubernetes minor on which the client is based on. For example, v12.0.0 is based on Kubernetes v1.16, v11.0.0 is based on Kubernetes v1.15 and so on.
157157

158-
This created a lot of confusion tracking two different version numbers for each client release. It was decided to homogenize the version scheme starting from the Kubernetes Python client based on Kubernetes v1.17. The versioning scheme of the client from this release would be vY.Z.P where Y and Z are the Kubernetes minor and patch release numbers from Kubernets v1.Y.Z and P is the client specific patch release numbers to accomodate changes and fixes done specifically to the client. For more details, refer [this issue](https://github.com/kubernetes-client/python/issues/1244).
158+
This created a lot of confusion tracking two different version numbers for each client release. It was decided to homogenize the version scheme starting from the Kubernetes Python client based on Kubernetes v1.17. The versioning scheme of the client from this release would be vY.Z.P where Y and Z are the Kubernetes minor and patch release numbers from Kubernets v1.Y.Z and P is the client specific patch release numbers to accommodate changes and fixes done specifically to the client. For more details, refer [this issue](https://github.com/kubernetes-client/python/issues/1244).
159159

160160
## Community, Support, Discussion
161161

examples/deployment_crud.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def create_deployment_object():
4040
),
4141
)
4242

43-
# Create and configurate a spec section
43+
# Create and configure a spec section
4444
template = client.V1PodTemplateSpec(
4545
metadata=client.V1ObjectMeta(labels={"app": "nginx"}),
4646
spec=client.V1PodSpec(containers=[container]),

examples/dynamic-client/namespaced_custom_resource.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
- Creation of a custom resource definition (CRD) using dynamic-client
1818
- Creation of namespaced custom resources (CR) using the above CRD
1919
- List, patch (update), delete the custom resources
20-
- Delete the custom resource defintion (CRD)
20+
- Delete the custom resource definition (CRD)
2121
"""
2222

2323
from kubernetes import config, dynamic
@@ -125,14 +125,14 @@ def main():
125125
},
126126
}
127127

128-
crd_creation_respone = crd_api.create(crd_manifest)
128+
crd_creation_response = crd_api.create(crd_manifest)
129129
print(
130130
"\n[INFO] custom resource definition `ingressroutes.apps.example.com` created\n"
131131
)
132132
print("%s\t\t%s" % ("SCOPE", "NAME"))
133133
print(
134134
"%s\t%s\n"
135-
% (crd_creation_respone.spec.scope, crd_creation_respone.metadata.name)
135+
% (crd_creation_response.spec.scope, crd_creation_response.metadata.name)
136136
)
137137

138138
# Fetching the "ingressroutes" CRD api

examples/job_crud.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def create_job_object():
3232
name="pi",
3333
image="perl",
3434
command=["perl", "-Mbignum=bpi", "-wle", "print bpi(2000)"])
35-
# Create and configurate a spec section
35+
# Create and configure a spec section
3636
template = client.V1PodTemplateSpec(
3737
metadata=client.V1ObjectMeta(labels={"app": "pi"}),
3838
spec=client.V1PodSpec(restart_policy="Never", containers=[container]))

examples/notebooks/create_secret.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@
246246
"source": [
247247
"### View secret being used within the pod\n",
248248
"\n",
249-
"Wait for alteast 10 seconds to ensure pod is running before executing this section."
249+
"Wait for atleast 10 seconds to ensure pod is running before executing this section."
250250
]
251251
},
252252
{

examples/notebooks/intro_notebook.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"- **`delete_xxxx`** : delete a resource. This performs operations similar to **`kubectl delete`**.\n",
3131
"\n",
3232
"\n",
33-
"For Futher information see the Documentation for API Endpoints section in https://github.com/kubernetes-client/python/blob/master/kubernetes/README.md"
33+
"For Further information see the Documentation for API Endpoints section in https://github.com/kubernetes-client/python/blob/master/kubernetes/README.md"
3434
]
3535
},
3636
{

scripts/apply-hotfixes.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ fi
3131
git cherry-pick -n 88397bcc5b3b348a41dbf641367756b86552d362
3232
if [ $? -eq 0 ]
3333
then
34-
echo Succesfully patched changes for custom client behavior
34+
echo Successfully patched changes for custom client behavior
3535
else
3636
echo Failed to patch changes for custom client behavior
3737
git restore --staged .
@@ -44,7 +44,7 @@ fi
4444
git cherry-pick -n 56ab983036bcb5c78eee91483c1e610da69216d1
4545
if [ $? -eq 0 ]
4646
then
47-
echo Succesfully patched changes for enabling from kubernetes import apis
47+
echo Successfully patched changes for enabling from kubernetes import apis
4848
else
4949
echo Failed to patch changes for enabling from kubernetes import apis
5050
git restore --staged .
@@ -57,7 +57,7 @@ fi;
5757
git cherry-pick -n 13dffb897617f87aaaee247095107d7011e002d5
5858
if [ $? -eq 0 ]
5959
then
60-
echo Succesfully patched changes for Client Context Manager
60+
echo Successfully patched changes for Client Context Manager
6161
else
6262
echo Failed to patch changes for Client Context Manager
6363
git restore --staged .
@@ -70,7 +70,7 @@ fi;
7070
git cherry-pick -n 95a893cd1c34de11a4e3893dd1dfde4a0ca30bdc
7171
if [ $? -eq 0 ]
7272
then
73-
echo Succesfully patched changes for no_proxy support
73+
echo Successfully patched changes for no_proxy support
7474
else
7575
echo Failed to patch changes for no_proxy support
7676
git restore --staged .

0 commit comments

Comments
 (0)