how to sync all k8s core resource to workspace root:xxxx. in latest version

Open
#85 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
go, helm, kubernetes

Research direction

Start by reproducing the PublishedResource configuration on the reported Helm v0.28.0 kind setup and inspect the synchronization error for the Pod status subresource. The work is done when the documentation explains whether this configuration supports core resources and status synchronization, or records the required behavior and limitations.

Written by the indexing model from the issue text.

Description

kind/bug needs-triage

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" 
Dominant language
Go
Stars
25
Forks
30
Avg merge
3d 9h
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from kcp-dev/api-syncagent

All issues in kcp-dev/api-syncagent

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.