Skip to content

tcpSocket probes stopped work at 1.6.0 #854

@raven-0099

Description

@raven-0099

TcpSocket probes stopped work at version 1.6.0.

Example configuration fragment:

spec:
  license:
    accept: true
    edition: IBM WebSphere Application Server
    metric: Virtual Processor Core (VPC)
    productEntitlementSource: IBM WebSphere Hybrid Edition
  resources:
    limits:
      cpu: 1500m
      memory: 4Gi
    requests:
      cpu: 300m
      memory: 500Mi
  replicas: 2          
  probes:
    liveness:
      tcpSocket:
        port: 9080
    readiness:
      initialDelaySeconds: 180
      tcpSocket:
        port: 9080
    startup:
      tcpSocket:
        port: 9080
      initialDelaySeconds: 30
      periodSeconds: 10
      failureThreshold: 12

I generate issue like this, when operator generate deployment kind:
Deployment.apps "test" is invalid: [spec.template.spec.containers[0].livenessProbe.tcpSocket: Forbidden: may not specify more than 1 handler type, spec.template.spec.containers[0].readinessProbe.tcpSocket: Forbidden: may not specify more than 1 handler type, spec.template.spec.containers[0].startupProbe.tcpSocket: Forbidden: may not specify more than 1 handler type]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions