This is a cache of https://docs.okd.io/latest/rest_api/workloads_apis/deploymentlog-apps-openshift-io-v1.html. It is a snapshot of the page at 2024-11-23T19:57:43.430+0000.
DeploymentLog [apps.openshift.io/v1] - Workloads <strong>api</strong>s | <strong>api</strong> reference | OKD 4
×
Description

DeploymentLog represents the logs for a deployment

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer).

Type

object

Specification

Property Type Description

apiVersion

string

apiVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

kind

string

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

api endpoints

The following api endpoints are available:

  • /apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/log

    • GET: read log of the specified DeploymentConfig

/apis/apps.openshift.io/v1/namespaces/{namespace}/deploymentconfigs/{name}/log

Table 1. Global path parameters
Parameter Type Description

name

string

name of the DeploymentLog

HTTP method

GET

Description

read log of the specified DeploymentConfig

Table 2. HTTP responses
HTTP code Reponse body

200 - OK

DeploymentLog schema

401 - Unauthorized

Empty