Petr Kremensky created WFWIP-163:
------------------------------------
Summary: WildFlyServerStatus is not present in operator description
Key: WFWIP-163
URL:
https://issues.jboss.org/browse/WFWIP-163
Project: WildFly WIP
Issue Type: Bug
Components: OpenShift
Environment: openshift v3.11.82
operator 0.2.0
Reporter: Petr Kremensky
Assignee: Jeff Mesnil
According to the [operator api
documentation|https://github.com/wildfly/wildfly-operator/blob/master/doc...],
the deployment pods status should be pard of operator description, but I failed to find
such on OPC.
Install the wildfly operator on OCP as described by [wildfly-operator -
openshift|https://github.com/wildfly/wildfly-operator#openshift] section.
*steps to reproduce*
{noformat}
$ cat << EOF > simple-jaxrs-wildfly.yaml
apiVersion:
wildfly.org/v1alpha1
kind: WildFlyServer
metadata:
name: simple-jaxrs-wildfly
spec:
applicationImage: "pkremens/simple-jaxrs-wildfly"
size: 2
EOF
$ oc apply -f simple-jaxrs-wildfly.yaml
$ oc expose service/simple-jaxrs-wildfly-loadbalancer
# verify that application is accessible
$ ROUTE=$(oc get route.route.openshift.io/simple-jaxrs-wildfly-loadbalancer
--template='{{ .spec.host }}')
$ curl $ROUTE/ping
pong
$ oc describe wildflyserver simple-jaxrs-wildfly
Name: simple-jaxrs-wildfly
Namespace: myproject
Labels: <none>
Annotations:
kubectl.kubernetes.io/last-applied-configuration={"apiVersion":....
API Version:
wildfly.org/v1alpha1
Kind: WildFlyServer
Metadata:
Creation Timestamp: 2019-07-02T13:11:58Z
Generation: 1
Resource Version: 4318
Self Link:
/apis/wildfly.org/v1alpha1/namespaces/myproject/wildflyservers/simple-jaxrs-wildfly
UID: f8eb76bf-9cca-11e9-b8ee-52540043aed8
Spec:
Application Image: pkremens/simple-jaxrs-wildfly
Size: 2
Events: <none>
{noformat}
Operator status is not part of the object.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)