Skip to content

Commit ec3e402

Browse files
jonnyfiveiqlilic
authored andcommitted
Update README.md (#858)
* Update README.md I think it would be nice to show how the new resource type can be used in the kubectl command. As shown in my proposed change using kubectl describe appservice. * Update README.md I accept change. Co-Authored-By: jonnyfiveiq <[email protected]>
1 parent 16ba990 commit ec3e402

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,24 @@ $ kubectl get pod -l app=example-appservice
111111
NAME READY STATUS RESTARTS AGE
112112
example-appservice-pod 1/1 Running 0 1m
113113

114+
# Test the new Resource Type
115+
$ kubectl describe appservice example-appservice
116+
Name: example-appservice
117+
Namespace: myproject
118+
Labels: <none>
119+
Annotations: <none>
120+
API Version: app.example.com/v1alpha1
121+
Kind: AppService
122+
Metadata:
123+
Cluster Name:
124+
Creation Timestamp: 2018-12-17T21:18:43Z
125+
Generation: 1
126+
Resource Version: 248412
127+
Self Link: /apis/app.example.com/v1alpha1/namespaces/myproject/appservices/example-appservice
128+
UID: 554f301f-0241-11e9-b551-080027c7d133
129+
Spec:
130+
Size: 3
131+
114132
# Cleanup
115133
$ kubectl delete -f deploy/crds/app_v1alpha1_appservice_cr.yaml
116134
$ kubectl delete -f deploy/operator.yaml

0 commit comments

Comments
 (0)