Skip to content

platformdeployment on Kubernetes using CDK8s - Kubernetes files not generated #58

Description

@1vinodsingh1

I'm following steps for platformdeployment on Kubernetes using CDK8s using below npm commands

npm install
npm run compile

But I'm not able to get Kubernetes yaml file in the dist folder.

singwvin@3c06304afcb0 cdk8s % npm --version
8.19.2

The steps and logs:

singwvin@3c06304afcb0 cdk8s % npm install
npm WARN old lockfile
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated fsevents@2.1.3: "Please update to latest v2.3 or v2.2"
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated source-map-url@0.4.0: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated sane@4.1.0: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (debug-js/debug#797)

added 680 packages, and audited 688 packages in 8s

26 packages are looking for funding
run npm fund for details

2 moderate severity vulnerabilities

To address all issues, run:
npm audit fix

Run npm audit for details.
singwvin@3c06304afcb0 cdk8s % npm run compile

yelb-cdk8sv2@1.0.0 compile
tsc

singwvin@3c06304afcb0 cdk8s % ls
README.md cdk8s.yaml imports main.d.ts main.test.d.ts main.test.ts node_modules package.json
snapshots help jest.config.js main.js main.test.js main.ts package-lock.json tsconfig.json
singwvin@3c06304afcb0 cdk8s %

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions