Skip to content

how to syncer all k8s core resource to workspace root:xxxx. in latest version #85

@tangshibokmpler

Description

@tangshibokmpler

I installed it using Helm with version v0.28.0 on my Mac kind cluster. There is no information about this in the latest documentation. I tried using PublishedResource to sync all Kubernetes core resources, and it works, but the subresource status cannot sync. The error is:

failed to synchronize object state: failed to update source object status: pods.wk.test.com "hello-pod" not found

Should I use PublishedResource to sync all Kubernetes core resources?

My PublishedResource is:

apiVersion: syncagent.kcp.io/v1alpha1
kind: PublishedResource
metadata:
  name: publish-pods
spec:
  resource:
    apiGroup: ""  
    kind: Pod
    versions: ["v1"]

  projection:
    group: "wk.test.com" 

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.needs-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    Status

    New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions