Saravanan666/pypi-org huggingface dataset:
Package: cdk8s-external-dns
cdk8s-external-dnscdk8s external dnsconstructs for cdk8sBasic implementation of aexternal dnsconstruct for cdk8s. Contributions are welcome!UsageCDK External Dns# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826fromcdk8simportApp,ChartfromconstructsimportConstructfromcdk8s_external_dnsimportAwsExternalDns,AwsZoneTypeOptions# default will deploy to default namespace.classMyChart(Chart):def__init__(self,scope,name):super().__init__(scope,name)AwsExternalDns(self,"cdk8sAwsExternalDns",domain_filter="exmaple.com",aws_zone_type=AwsZoneTypeOptions.PUBLIC)app=App()MyChart(app,"testcdk8s")app.synth()Featrue For Add IAM Policy.For IRSA add IAM Policy.# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826# CDK APP like eks_cluster.tsfromcdk8s_external_dnsimportAwsExternalDnsPolicyHelperimportaws_cdk.aws_eksasekscluster=eks.Cluster(self,"MyK8SCluster",default_capacity=0,masters_role=cluster_admin,version=eks.KubernetesVersion.V1_18)external_dns_service_account=cluster.add_service_account("external-dns",name="external-dns")# will help you add policy to IAM Role .AwsExternalDnsPolicyHelper.add_policy(external_dns_service_account)Also can seeexample repoLicenseDistributed under theApache 2.0license.
Package: cdk8s-external-dns-route53
cdk8s-external-dns-route53Upstream Fork ofthis repoSynths an install manifest forExternalDNS - Route53Controller version :v0.7.6Overviewinstall.yamlexampleimport{Construct}from'constructs';import{App,Chart,ChartProps}from'cdk8s';import{AwsExternalDns}from'@opencdk8s/cdk8s-external-dns-route53';exportclassMyChartextendsChart{constructor(scope:Construct,id:string,props:ChartProps={}){super(scope,id,props);newAwsExternalDns(this,'example',{args:['--custom-arg=custom']})}}constapp=newApp();newMyChart(app,'example');app.synth();install.k8s.yamlapiVersion:rbac.authorization.k8s.io/v1beta1kind:ClusterRolemetadata:name:external-dnsrules:-apiGroups:-""resources:-services-endpoints-podsverbs:-get-watch-list-apiGroups:-extensions-networking.k8s.ioresources:-ingressesverbs:-get-watch-list-apiGroups:-""resources:-nodesverbs:-list-watch---apiVersion:rbac.authorization.k8s.io/v1beta1kind:ClusterRoleBindingmetadata:name:external-dns-viewerroleRef:apiGroup:rbac.authorization.k8s.iokind:ClusterRolename:external-dnssubjects:-kind:ServiceAccountname:external-dnsnamespace:default---apiVersion:apps/v1kind:Deploymentmetadata:name:external-dnsnamespace:defaultspec:selector:matchLabels:app:external-dnsstrategy:type:Recreatetemplate:metadata:labels:app:external-dnsspec:containers:-args:---source=service---source=ingress---provider=aws---registry=txt---txt-owner-id=external-dns---custom-arg=customimage:k8s.gcr.io/external-dns/external-dns:v0.7.6name:external-dnssecurityContext:fsGroup:65534serviceAccountName:external-dnsInstallationTypeScriptUseyarnornpmto install.$npminstall@opencdk8s/cdk8s-external-dns-route53$yarnadd@opencdk8s/cdk8s-external-dns-route53Python$pipinstallcdk8s-external-dns-route53ContributionFork (link)Bootstrap the repo:npxprojen# generates package.jsonyarninstall# installs dependenciesDevelopment scripts:CommandDescriptionyarn compileCompiles typescript => javascriptyarn watchWatch & compileyarn testRun unit test & linter through jestyarn test -uUpdate jest snapshotsyarn run packageCreates adistwith packages for all languages.yarn buildCompile + test + packageyarn bumpBump version (with changelog) based on [conventional commits]yarn releaseBump + push tomasterCreate a feature branchCommit your changesRebase your local changes against the master branchCreate a new Pull Request (useconventional commitsfor the title please)LicenceApache License, Version 2.0AuthorHunter-Thompson
Package: cdk8s-grafana
cdk8s-grafanacdk8s-grafana is a library that lets you easily define a Grafana service for
your kubernetes cluster along with associated dashboards and datasources, using
a high level API.UsageTo apply the resources generated by this construct, the Grafana operator must be
installed on your cluster. Seehttps://operatorhub.io/operator/grafana-operatorfor full installation
instructions.The following will define a Grafana cluster connected to a Prometheus
datasource:import{Grafana}from'cdk8s-grafana';//insideyourchart:constgrafana=newGrafana(this,'my-grafana',{defaultDataSource:{name:'Prometheus',type:'prometheus',access:'proxy',url:'http://prometheus-service:9090',}});Basic aspects of a dashboard can be customized:constgithub=grafana.addDatasource('github',...);constdashboard=grafana.addDashboard('my-dashboard',{title:'My Dashboard',refreshRate:Duration.seconds(10),timeRange:Duration.hours(6),//showmetricsfromnow-6htonowplugins:[{name:'grafana-piechart-panel',version:'1.3.6',}],});Note: the kubernetes grafana operator only supports one Grafana instance per
namespace (seehttps://github.com/grafana-operator/grafana-operator/issues/174).
This may require specifying namespaces explicitly, e.g.:constdevGrafana=newGrafana(this,'my-grafana',{namespace:'dev',});constprodGrafana=newGrafana(this,'my-grafana',{namespace:'prod',});The grafana operator must be installed in each namespace for the resources in
that namespace to be recognized.SecuritySeeCONTRIBUTINGfor more
information.LicenseThis project is licensed under the Apache-2.0 License.
Package: cdk8s-image
cdk8s-imageAnImageconstruct which takes care of building & pushing docker images that
can be used inCDK8sapps.The following example will build the docker image fromDockerfileunder themy-appdirectory, push it to a local registry and then define a Kubernetes
deployment that deploys containers that run this image.constimage=newImage(this,'image',{dir:`${__dirname}/my-app`,registry:'localhost:5000'});newDeployment(this,'deployment',{containers:[newContainer({image:image.url})],});ContributionsAll contributions are celebrated.LicenseLicensed underApache 2.0.
Package: cdk8s-metaflow
cdk8s-metaflowCollection of cdk8s constructs for deployingMetaflowon Kubernetes.Importscdk8simportk8s@1.22.0-ltypescript-osrc/imports
helmrepoaddbitnamihttps://charts.bitnami.com/bitnami
helmrepoaddargohttps://charts.bitnami.com/bitnami
helmrepoaddautoscalerhttps://kubernetes.github.io/autoscaler
Package: cdk8s-plus-17
cdk8s+ (cdk8s-plus)This library is in very early stages of development, as such, and in correspondence with a0.xsemantic major version line, itsAPIis
likely to rapidly change in breaking ways. It is therefore not recommended to use library for production workloads.cdk8s+is a software development framework that provides high level abstractions for authoring Kubernetes applications.
Built on top of the auto generated building blocks provided bycdk8s, this library includes a hand craftedconstructfor each native kubernetes object, exposing richer API's with reduced complexity.DocumentationSeecdk8s.io.LicenseThis project is distributed under theApache License, Version 2.0.This module is part of thecdk8s project.
Package: cdk8s-plus-19
cdk8s+ (cdk8s-plus)High level constructs for Kubernetescdk8s+is a software development framework that provides high level abstractions for authoring Kubernetes applications.
Built on top of the auto generated building blocks provided bycdk8s, this library includes a hand craftedconstructfor each native kubernetes object, exposing richer API's with reduced complexity.DocumentationSeecdk8s.io.LicenseThis project is distributed under theApache License, Version 2.0.This module is part of thecdk8s project.
Package: cdk8s-plus-20
cdk8s+ (cdk8s-plus)High level constructs for Kubernetesk8s versionnpm (JS/TS)PyPI (Python)NuGet (C#)Maven (Java)Go1.20.0LinkLinkLinkLinkLink1.21.0LinkLinkLinkLinkLink1.22.0LinkLinkLinkLinkLinkcdk8s+is a software development framework that provides high level
abstractions for authoring Kubernetes applications. Built on top of the auto
generated building blocks provided bycdk8s, this library includes a
hand craftedconstructfor each native kubernetes object, exposing richer
API's with reduced complexity.:books: DocumentationSeecdk8s.io.:raised_hand: ContributingIf you'd like to add a new feature or fix a bug, please visitCONTRIBUTING.md!:balance_scale: LicenseThis project is distributed under theApache License, Version 2.0.This module is part of thecdk8s project.
Package: cdk8s-plus-21
cdk8s+ (cdk8s-plus)High level constructs for Kubernetesk8s versionnpm (JS/TS)PyPI (Python)NuGet (C#)Maven (Java)Go1.20.0LinkLinkLinkLinkLink1.21.0LinkLinkLinkLinkLink1.22.0LinkLinkLinkLinkLinkcdk8s+is a software development framework that provides high level
abstractions for authoring Kubernetes applications. Built on top of the auto
generated building blocks provided bycdk8s, this library includes a
hand craftedconstructfor each native kubernetes object, exposing richer
API's with reduced complexity.:books: DocumentationSeecdk8s.io.:raised_hand: ContributingIf you'd like to add a new feature or fix a bug, please visitCONTRIBUTING.md!:balance_scale: LicenseThis project is distributed under theApache License, Version 2.0.This module is part of thecdk8s project.
Package: cdk8s-plus-22
cdk8s+ (cdk8s-plus)High level constructs for Kubernetesk8s versionnpm (JS/TS)PyPI (Python)Maven (Java)Go1.22.0LinkLinkLinkLink1.23.0LinkLinkLinkLink1.24.0LinkLinkLinkLinkcdk8s+is a software development framework that provides high level
abstractions for authoring Kubernetes applications. Built on top of the auto
generated building blocks provided bycdk8s, this library includes a
hand craftedconstructfor each native kubernetes object, exposing richer
API's with reduced complexity.:books: DocumentationSeecdk8s.io.:raised_hand: ContributingIf you'd like to add a new feature or fix a bug, please visitCONTRIBUTING.md!:balance_scale: LicenseThis project is distributed under theApache License, Version 2.0.This module is part of thecdk8s project.
Package: cdk8s-plus-23
cdk8s+ (cdk8s-plus)High level constructs for Kubernetesk8s versionnpm (JS/TS)PyPI (Python)Maven (Java)Go1.21.0LinkLinkLinkLink1.22.0LinkLinkLinkLink1.23.0LinkLinkLinkLinkcdk8s+is a software development framework that provides high level
abstractions for authoring Kubernetes applications. Built on top of the auto
generated building blocks provided bycdk8s, this library includes a
hand craftedconstructfor each native kubernetes object, exposing richer
API's with reduced complexity.:books: DocumentationSeecdk8s.io.:raised_hand: ContributingIf you'd like to add a new feature or fix a bug, please visitCONTRIBUTING.md!:balance_scale: LicenseThis project is distributed under theApache License, Version 2.0.This module is part of thecdk8s project.
Package: cdk8s-plus-24
cdk8s+ (cdk8s-plus)High level constructs for Kubernetesk8s versionnpm (JS/TS)PyPI (Python)Maven (Java)Go1.22.0LinkLinkLinkLink1.23.0LinkLinkLinkLink1.24.0LinkLinkLinkLinkcdk8s+is a software development framework that provides high level
abstractions for authoring Kubernetes applications. Built on top of the auto
generated building blocks provided bycdk8s, this library includes a
hand craftedconstructfor each native kubernetes object, exposing richer
API's with reduced complexity.:books: DocumentationSeecdk8s.io.:raised_hand: ContributingIf you'd like to add a new feature or fix a bug, please visitCONTRIBUTING.md!:balance_scale: LicenseThis project is distributed under theApache License, Version 2.0.This module is part of thecdk8s project.
Package: cdk8s-plus-25
cdk8s+ (cdk8s-plus)High level constructs for Kubernetesk8s versionnpm (JS/TS)PyPI (Python)Maven (Java)Go1.23.0LinkLinkLinkLink1.24.0LinkLinkLinkLink1.25.0LinkLinkLinkLinkcdk8s+is a software development framework that provides high level
abstractions for authoring Kubernetes applications. Built on top of the auto
generated building blocks provided bycdk8s, this library includes a
hand craftedconstructfor each native kubernetes object, exposing richer
API's with reduced complexity.:books: DocumentationSeecdk8s.io.:raised_hand: ContributingIf you'd like to add a new feature or fix a bug, please visitCONTRIBUTING.md!:balance_scale: LicenseThis project is distributed under theApache License, Version 2.0.This module is part of thecdk8s project.
Package: cdk8s-plus-26
cdk8s+ (cdk8s-plus)High level constructs for Kubernetesk8s versionnpm (JS/TS)PyPI (Python)Maven (Java)Go1.24.0LinkLinkLinkLink1.25.0LinkLinkLinkLink1.26.0LinkLinkLinkLinkcdk8s+is a software development framework that provides high level
abstractions for authoring Kubernetes applications. Built on top of the auto
generated building blocks provided bycdk8s, this library includes a
hand craftedconstructfor each native kubernetes object, exposing richer
API's with reduced complexity.:books: DocumentationSeecdk8s.io.:raised_hand: ContributingIf you'd like to add a new feature or fix a bug, please visitCONTRIBUTING.md!:balance_scale: LicenseThis project is distributed under theApache License, Version 2.0.This module is part of thecdk8s project.
Package: cdk8s-plus-27
cdk8s+ (cdk8s-plus)High level constructs for Kubernetesk8s versionnpm (JS/TS)PyPI (Python)Maven (Java)Go1.25.0LinkLinkLinkLink1.26.0LinkLinkLinkLink1.27.0LinkLinkLinkLinkcdk8s+is a software development framework that provides high level
abstractions for authoring Kubernetes applications. Built on top of the auto
generated building blocks provided bycdk8s, this library includes a
hand craftedconstructfor each native kubernetes object, exposing richer
API's with reduced complexity.:books: DocumentationSeecdk8s.io.:raised_hand: ContributingIf you'd like to add a new feature or fix a bug, please visitCONTRIBUTING.md!:balance_scale: LicenseThis project is distributed under theApache License, Version 2.0.This module is part of thecdk8s project.
Package: cdk8s-plus-28
cdk8s+ (cdk8s-plus)High level constructs for Kubernetesk8s versionnpm (JS/TS)PyPI (Python)Maven (Java)Go1.26.0LinkLinkLinkLink1.27.0LinkLinkLinkLink1.28.0LinkLinkLinkLinkcdk8s+is a software development framework that provides high level
abstractions for authoring Kubernetes applications. Built on top of the auto
generated building blocks provided bycdk8s, this library includes a
hand craftedconstructfor each native kubernetes object, exposing richer
API's with reduced complexity.:books: DocumentationSeecdk8s.io.:raised_hand: ContributingIf you'd like to add a new feature or fix a bug, please visitCONTRIBUTING.md!:balance_scale: LicenseThis project is distributed under theApache License, Version 2.0.This module is part of thecdk8s project.
Package: cdk8s-redis
cdk8s-redisRedis constructs for cdk8sBasic implementation of a Redis construct for cdk8s. Contributions are welcome!UsageThe following will define a Redis cluster with a primary and 2 replicas:import{Redis}from'cdk8s-redis';//insideyourchart:constredis=newRedis(this,'my-redis');DNS names can be obtained fromredis.primaryHostandredis.replicaHost.You can specify how many replicas to define:newRedis(this,'my-redis',{replicas:4});Or, you can specify no replicas:newRedis(this,'my-redis',{replicas:0});LicenseDistributed under theApache 2.0license.
Package: cdk8s-sealed-secrets-controller
cdk8s-sealed-secrets-controllerExtends APIObjects for sealed secrets controller.Usage:import { Construct } from 'constructs';
import { App, Chart, ChartProps } from 'cdk8s';
import { SealedSecretsTemplate } from '@opencdk8s/cdk8s-sealed-secrets-controller';

export class MyChart extends Chart {
  constructor(scope: Construct, id: string, props: ChartProps = { }) {
    super(scope, id, props);
      new SealedSecretsTemplate(this, 'example', {});
    }
}

const app = new App();
new MyChart(app, 'example');
app.synth();
Package: cdk8s-valheim
CDK8s ValheimThis is aCDK8sproject that defines a Kubernetes deployment forValheimusing thelloesche/valheim-serverimage.UseA default deployment can be created with:newValheimChart(app,'valheim')Default deployment will produce a server configured with all defaultenvironment variables. The container will request resources for the games minimum recommended specs of 2 CPU and 4GB of memory.Settings can be customized by passing in aValheimChartPropsobject. This will allow you to configure all supported environment customizations and container configurationsnewValheimChart(app,'valheim',{server:{name:'K8S Valheim',worldName:'K8S',password:{raw:'password',},},})PersistenceBy default, the server will store its data on a host path. This is not recommended as your world data can easily be lost.This chart allows for storing the data on a PersistentVolumeClaim. Two pvcs can be created, one for the world data and one for the configuration. The world data is mounted at/opt/valheim/datadirectory and the configuration is mounted at/configdirectory.To create these, the PVCs can be configured as follows:newValheimChart(app,'valheim'.{persistence:{server:{storageClass:"my-class",},config:{storageClass:"my-class",},},})
Package: cdk-alexa-skill
Alexa Skill CDK ConstructThis is a CDK construct library for creating an Alexa Skill.This library currently supports NodeJS and Python.InstallationInstall with npm$npminstallcdk-alexa-skillInstall with pip$pipinstallcdk-alexa-skillCDK compatibilityVersion 2.x is compatible with the CDK v2.Version 1.x is compatible with the CDK v1. There won't be regular updates for this.Usage/ExamplesTypeScript:import*ascdkfrom'@aws-cdk/core';import*aslambdafrom'@aws-cdk/aws-lambda';import{Skill}from'cdk-alexa-skill';constskillBackendLambdaFunction=newlambda.Function(this,'Function',{...});constskill=newSkill(this,'Skill',{endpointLambdaFunction:skillBackendLambdaFunction,// @aws-cdk/aws-lambda.IFunction object containing backend code for the Alexa SkillskillPackagePath:'src/skill-package',// path to your skill packagealexaVendorId:'XXXXXXXXXX',// vendor ID of Alexa Developer accountlwaClientId:'XXXXXXXXXX',// client ID of LWA Security ProfilelwaClientSecret:cdk.SecretValue.secretsManager('lwa-client-secret'),// @aws-cdk/core.SecretValue object containing client secret of LWA Security ProfilelwaRefreshToken:cdk.SecretValue.secretsManager('lwa-refresh-token')// @aws-cdk/core.SecretValue object containing refresh token of LWA Security Profile});Python:fromaws_cdkimportcorefromaws_cdkimportaws_lambdaaslambda_fromcdk_alexa_skillimportSkillskill_backend_lambda_function=lambda_.Function(self,'Function',...)skill=Skill(self,'Skill',endpoint_lambda_function=skill_backend_lambda_function,# aws_cdk.aws_lambda.IFunction object containing backend code for the Alexa Skillskill_package_path='src/skill_package',# path to your skill packagealexa_vendor_id='XXXXXXXXXX',# vendor ID of Alexa Developer accountlwa_client_id='XXXXXXXXXX',# client ID of LWA Security Profilelwa_client_secret=core.SecretValue.secrets_manager('lwa-client-secret'),# @aws-cdk/core.SecretValue object containing client secret of LWA Security Profilelwa_refresh_token=core.SecretValue.secrets_manager('lwa-refresh-token'))# @aws-cdk/core.SecretValue object containing refresh token of LWA Security ProfileSeeexample folderorthis blog postfor a more complete example.ContributingContributions of all kinds are welcome and celebrated. Raise an issue, submit a PR, do the right thing.SeeCONTRIBUTING.mdfor contributing guidelines.LicenseMIT
Package: cdk-alps-graph-ql
CDK Alps Graph QLThe CDK Alps Graph QL construct generates an AWS Graph QL out of an ALPS API yaml file such src/todo-alps.yaml. ALPS API is an abstraction of APIs like REST API or Graph QL. More about the ALPS API see in the ALPS API section.The AWS CDK construct repo was generated withProjenasawscdk-constructThanksTo Pahud for the helpful AWS CDK Construct video:https://www.youtube.com/watch?v=cTsSXYOYQPwMike Amundsen for the ALPS API idea and help.ALPS APIThe ALPS API converter is on GitHub on:https://github.com/mamund/alps-unifiedVery useful to understand the idea of ALPS API is this video on YT:https://www.youtube.com/watch?v=oG6-r3UdenESample# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826app=cdk.App()stack=cdk.Stack(app,"alps-graph-ql-stack",env=env)AlpsGraphQL(stack,"AlpsGraphQL",name="demo",alps_spec_file="src/todo-alps.yaml")CDK stack commandsDiff# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826npxcdk--applib/integ.default.js--profile<profile>diffDeploy# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826npxcdk--applib/integ.default.js--profile<profile>deployDestroy# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826npxcdk--applib/integ.default.js--profile<profile>destroyLimitations / Issues / TODOSonly ALPS YAML files are supported. ALPS JSON files will be added
Package: cdk-alps-spec-rest-api
CDK Alps Spec Rest ApiThe CDK Alps Spec Rest Api construct generates an AWS API Gateway out of an ALPS API yaml file such src/todo-alps.yaml. ALPS API is an abstraction of APIs like REST API or Graph QL. More about the ALPS API see in the ALPS API section.The AWS CDK construct repo was generated withProjenasawscdk-constructThanksTo Pahud for the helpful AWS CDK Construct video:https://www.youtube.com/watch?v=cTsSXYOYQPwMike Amundsen for the ALPS API idea and helpALPS APIThe ALPS API converter is on GitHub on:https://github.com/mamund/alps-unifiedVery useful to understand the idea of ALPS API is this video on YouTube:https://www.youtube.com/watch?v=oG6-r3UdenESample# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826app=cdk.App()stack=cdk.Stack(app,"my-demo-stack",env=env)AlpsSpecRestApi(stack,"AlpsSpecRestApi",alps_spec_file="src/todo-alps.yaml")CDK stack commandsDiff# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826npxcdk--applib/integ.default.js--profile<profile>diffDeploy# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826npxcdk--applib/integ.default.js--profile<profile>deployDestroy# Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826npxcdk--applib/integ.default.js--profile<profile>destroyLimitations / Issues / TODOS(AWS) Authorizer and Validator are not supported yetonly alps YAML files are supported. alps JSON files will be addedonly Lambda integrations are supported and the endpoints are per default mapped to lambdas with the same name as the operationId.