Merge pull request #19066 from Luap99/ps

top: do not depend on ps(1) in container
This commit is contained in:
OpenShift Merge Robot authored and GitHub committed 2023-07-14 13:17:59 +02:00
commit bb72016f58
17 files changed
+376 -71

No files matched your search

+2 -3
View File
@@ -444,7 +444,7 @@ func (s *APIServer) registerContainersHandlers(r *mux.Router) error {
// name: ps_args
// type: string
// default: -ef
// description: arguments to pass to ps such as aux. Requires ps(1) to be installed in the container if no ps(1) compatible AIX descriptors are used.
// description: arguments to pass to ps such as aux.
// produces:
// - application/json
// responses:
@@ -1174,10 +1174,9 @@ func (s *APIServer) registerContainersHandlers(r *mux.Router) error {
// - in: query
// name: ps_args
// type: string
// default: -ef
// default:
// description: |
// arguments to pass to ps such as aux.
// Requires ps(1) to be installed in the container if no ps(1) compatible AIX descriptors are used.
// produces:
// - application/json
// responses:
+1 -2
View File
@@ -309,10 +309,9 @@ func (s *APIServer) registerPodsHandlers(r *mux.Router) error {
// - in: query
// name: ps_args
// type: string
// default: -ef
// default:
// description: |
// arguments to pass to ps such as aux.
// Requires ps(1) to be installed in the container if no ps(1) compatible AIX descriptors are used.
// responses:
// 200:
// $ref: "#/responses/podTopResponse"