Skip to content

PodMetrics is not a deletable resource and needs to handled properly by odo dev #6475

@valaparthvi

Description

@valaparthvi

PodMetrics does not allow the DELETE method, this has been handled already but for some reason it still fails, it needs some investigation.

Expected
      <string>:   __
       /  \__     Developing using the "xpczcj" Devfile
       \__/  \    Namespace: cmd-logs-test189tbj
       /  \__/    odo version: v3.5.0
       \__/
      
      ↪ Deploying to the cluster in developer mode
       •  Waiting for Kubernetes resources  ...
       •  Creating resource Pod/myapp-inner  ...
      
 ✓  Creating resource Pod/myapp-inner 
       âš   Pod is Pending
       ✓  Pod is Running
       •  Deleting resources not present in the Devfile: PodMetrics/myapp-inner  ...
      
 ✓  Deleting resources not present in the Devfile: PodMetrics/myapp-inner [1s]
      Error occurred on Push - watch command was unable to push component: unable to delete remote resources: unable to delete resource: PodMetrics/myapp-inner: the server does not allow this method on the requested resource
      
       •  Deleting resources not present in the Devfile: PodMetrics/myapp-inner  ...
      
 ✓  Deleting resources not present in the Devfile: PodMetrics/myapp-inner [1s]
      Error occurred on Push - watch command was unable to push component: unable to delete remote resources: unable to delete resource: PodMetrics/myapp-inner: the server does not allow this method on the requested resource

Originally posted by @valaparthvi in #6470 (comment)

/assign valaparthvi

Metadata

Metadata

Labels

area/devIssues or PRs related to `odo dev`kind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

Status

Done ✅

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions