Thanks Weiwei.

On Wed, May 27, 2020 at 1:09 AM Weiwei Yang <[email protected]> wrote:

> Hi Prabhu
>
> Somehow the screenshot doesn't show up there. But I think I get your
> question.
> Unfortunately, that's a known limitation at present. Basically, we can only
> obtain the end-2-end app state via
>
>    1. app CRD (https://issues.apache.org/jira/browse/YUNIKORN-170)
>    2. the operator framework (
>
> https://github.com/apache/incubator-yunikorn-core/blob/master/docs/design/pluggable-app-management.md
>    )
>
> #1 is a TODO, #2 is there and currently only available for
> spark-k8s-operator. Not work for other apps yet.
>
> Thanks
>
>
> On Tue, May 26, 2020 at 4:33 AM Prabhu Joseph <[email protected]>
> wrote:
>
> > Hi,
> >
> >  Have observed below issues related to applications in Yunikorn, want to
> > check if these are expected behaviors or bugs
> >
> > 1. When there is no application, Yunikorn WebService /ws/v1/apps shows
> null
> >
> > [image: Screen Shot 2020-05-25 at 11.24.06 PM.png]
> >
> > 2. After Deleting Kubernetes deployment, Yunikorn WebService and UI shows
> > the application as still running with zero containers. How to permanently
> > delete the entry from Yunikorn applications,
> >
> > [root@kcloud deployments]# kubectl get pods -o wide
> >
> > NAME                                  READY   STATUS             RESTARTS
> > AGE     IP              NODE                      NOMINATED NODE
>  READINESS
> > GATES
> >
> > nginx-778b8f576d-g9tnc                1/1     Running            0
> >   51s     1.2.3.4   kcloud-1.openstacklocal   <none>           <none>
> >
> > yunikorn-scheduler-548645c864-4q2sj   2/2     Running            0
> >   17h     1.2.3.4  kcloud-1.openstacklocal   <none>           <none>
> >
> >
> > [root@kcloud deployments]# kubectl delete -f examples/nginx/nginx.yaml
> >
> > deployment.apps "nginx" deleted
> >
> >
> > [root@kcloud deployments]# kubectl get pods -o wide
> >
> > NAME                                  READY   STATUS             RESTARTS
> > AGE     IP              NODE                      NOMINATED NODE
>  READINESS
> > GATES
> >
> > yunikorn-scheduler-548645c864-4q2sj   2/2     Running            0
> >   17h     1.2.3.4  kcloud-1.openstacklocal   <none>           <none>
> >
> >
> >
> > [image: Screen Shot 2020-05-26 at 5.01.21 PM.png]
> >
> >
> >
> > Thanks,
> > Prabhu Joseph
> >
>

Reply via email to