Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom V-Net addition to docs #419

Open
sayantani11 opened this issue Sep 22, 2021 · 18 comments
Open

Custom V-Net addition to docs #419

sayantani11 opened this issue Sep 22, 2021 · 18 comments
Assignees
Labels
good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/documentation Categorizes issue or PR as related to documentation. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness.

Comments

@sayantani11
Copy link
Contributor

sayantani11 commented Sep 22, 2021

/kind documentation

Describe the solution you'd like
[A clear and concise description of what you want to happen.]
Adding a Custom Virtual Network documentation GCP

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Refer to https://github.com/kubernetes-sigs/cluster-api-provider-azure/blob/main/docs/book/src/topics/custom-vnet.md
for better understanding
Also:
https://cloud.google.com/vpc/docs/vpc
https://cloud.google.com/vpc/docs/using-vpc

@k8s-ci-robot k8s-ci-robot added the kind/documentation Categorizes issue or PR as related to documentation. label Sep 22, 2021
@sayantani11
Copy link
Contributor Author

/good-first-issue

@k8s-ci-robot
Copy link
Contributor

@sayantani11:
This request has been marked as suitable for new contributors.

Please ensure the request meets the requirements listed here.

If this request no longer meets these requirements, the label can be removed
by commenting with the /remove-good-first-issue command.

In response to this:

/good-first-issue

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot added good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. labels Sep 22, 2021
@daemon1024
Copy link

/assign

@sayantani11
Copy link
Contributor Author

@daemon1024 Updates?

@sayantani11
Copy link
Contributor Author

@daemon1024 Any updates? Stuck somewhere?

@daemon1024
Copy link

@sayantani11 Apologies for the delay and missing providing updates here.

So I went through the shared resources and the spec provided here https://github.com/kubernetes-sigs/cluster-api-provider-gcp/blob/main/config/crd/bases/infrastructure.cluster.x-k8s.io_gcpclusters.yaml

I came with a rough configuration...


Existing subnet

```yaml
apiVersion: infrastructure.cluster.x-k8s.io/v1Alpha4
kind: GCPCluster
spec:
    network:
        autoCreateSubnetworks: false
        name: my-vpc
        subnets:
            - name: my-subnet
            cidrBlock: 10.0.32.0/20
    project: xyz
    region: us-easta
```

New subnet, provide cidrblock

```yaml
apiVersion: infrastructure.cluster.x-k8s.io/v1Alpha4
kind: GCPCluster
spec:
    network:
        autoCreateSubnetworks: false
        name: my-vpc
        subnets:
            - name: my-subnet
            cidrBlock: 10.0.32.0/20
            region: ? # do we need it when we have region specified in spec?
    project: xyz
    region: us-easta
```

Auto cidr block ranges - https://cloud.google.com/vpc/docs/vpc#ip-ranges

But I am not sure how do I test it out! I don't have GCP instance 😓

@sayantani11
Copy link
Contributor Author

@daemon1024 You can try creating a gcp account and I guess you get a 250$ credit in the start that you can use or you can try using qwicklabs I believe

@sayantani11
Copy link
Contributor Author

@daemon1024 And yes I think we need to specify region in the subnet as well

@sayantani11
Copy link
Contributor Author

@daemon1024 or you can try reaching me on slack... I will try testing it... But will need some time with that😅

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Feb 9, 2022
@daemon1024 daemon1024 removed their assignment Feb 16, 2022
@AvineshTripathi
Copy link

Hey @sayantani11 is this still up for grab, maybe I can give a try

@sayantani11
Copy link
Contributor Author

Yes!
/assign @AvineshTripathi

@sayantani11
Copy link
Contributor Author

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Mar 1, 2022
@AvineshTripathi
Copy link

@sayantani11 I did go through the resources but being new to kubernetes I need some time and more resource to get a better idea so I was wondering if you can help me with resources with more basics to clear my fundamentals

@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jun 2, 2022
@sayantani11
Copy link
Contributor Author

/lifecycle frozen
/help

@sayantani11
Copy link
Contributor Author

/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jul 2, 2022
@sayantani11
Copy link
Contributor Author

/lifecycle frozen

@k8s-ci-robot k8s-ci-robot added the lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. label Jul 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/documentation Categorizes issue or PR as related to documentation. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness.
Projects
None yet
Development

No branches or pull requests

5 participants