[jboss-jira] [JBoss JIRA] (WFWIP-163) WildFlyServerStatus is not present in operator description

Petr Kremensky (Jira) issues at jboss.org
Tue Jul 2 09:17:00 EDT 2019


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/apis.adoc#wildflyserver], 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":"wildfly.org/v1alpha1","kind":"WildFlyServer","metadata":{"annotations":{},"name":"simple-jaxrs-wildfly","namespace":"myproject"},"spec":...
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)


More information about the jboss-jira mailing list