Bug 1844354
Summary: | oc set probe doesn't support setting start probes | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Chet Hosey <ChetRHosey> |
Component: | oc | Assignee: | Jan Chaloupka <jchaloup> |
Status: | CLOSED ERRATA | QA Contact: | zhou ying <yinzhou> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.3.z | CC: | aos-bugs, jokerman, mfojtik |
Target Milestone: | --- | ||
Target Release: | 4.6.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: |
Feature: oc set probe extended with ability to set startup probes
Reason: upstream added support for startup probes, yet the ability to work with it was not added to oc
Result: oc set probe now allows to set startup probes
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2020-10-27 16:05:27 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Chet Hosey
2020-06-05 07:57:03 UTC
checked with oc version --client -o yaml clientVersion: buildDate: "2020-06-22T17:36:51Z" compiler: gc gitCommit: b644a4b43e8d1cd9fa003e7686ce19454f456d08 gitTreeState: clean gitVersion: 4.6.0-202006221729.p0-b644a4b goVersion: go1.13.4 major: "" minor: "" platform: linux/amd64 The issue has fixed; [zhouying@dhcp-140-138 ~]$ oc set probe -h Set or remove a liveness, readiness or startup probe from a pod or pod template ..... # Set an HTTP startup probe for port 8080 and path /healthz over HTTP on the pod IP oc set probe dc/webapp --startup --get-url=http://:8080/healthz --startup=false: Set or remove a startup probe to verify this container is running [zhouying@dhcp-140-138 ~]$ oc set probe deploy/mytest --startup --get-url=http://:8081/healthz deployment.apps/mytest probes updated [zhouying@dhcp-140-138 ~]$ oc get deploy/mytest -o yaml .... startupProbe: failureThreshold: 3 httpGet: path: /healthz port: 8081 scheme: HTTP Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (OpenShift Container Platform 4.6 GA Images), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:4196 |