Update README.md
* 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.
@@ -111,6 +111,24 @@ $ kubectl get pod -l app=example-appservice
NAME READY STATUS RESTARTS AGE
example-appservice-pod 1/1 Running 0 1m
+# Test the new Resource Type
+$ kubectl describe appservice example-appservice
+Name: example-appservice
+Namespace: myproject
+Labels: <none>
+Annotations: <none>
+API Version: app.example.com/v1alpha1
+Kind: AppService
+Metadata:
+ Cluster Name:
+ Creation Timestamp: 2018-12-17T21:18:43Z
+ Generation: 1
+ Resource Version: 248412
+ Self Link: /apis/app.example.com/v1alpha1/namespaces/myproject/appservices/example-appservice
+ UID: 554f301f-0241-11e9-b551-080027c7d133
+Spec:
+ Size: 3
+
# Cleanup
$ kubectl delete -f deploy/crds/app_v1alpha1_appservice_cr.yaml
$ kubectl delete -f deploy/operator.yaml
