[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[atomic-devel] extend atomic CLI to check kubernetes status



I'm seeing references to scriptlets like...

# for SERVICES in etcd flanneld kube-controller-manager kube-scheduler;
    do echo --- $SERVICES --- ; systemctl is-active $SERVICES ; 
    systemctl is-enabled $SERVICES ; echo "";  done

...and...

# for SERVICES in flanneld docker kube-proxy.service kubelet.service; \
do echo --- $SERVICES --- ; systemctl is-active $SERVICES ; \
systemctl is-enabled $SERVICES ; echo "";  done

...to verify a host is properly setup for kubernetes. Could we put this into atomic CLI?

    $ atomic host status --service kubernetes

Thoughts?

-Aaron


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]