Foods such as green leafy vegetables such as spinach, kale, lettuce, and broccoli, vegetable oils, fruits like blueberries and figs, eggs, cheese, meat including liver, chickpeas, and soybeans are great sources of vitamin K.
As far as vitamin D is concerned, the best source is sunlight. Foods like oily fish such as salmon, sardines, herring and mackerel, red meat, liver, egg yolk and fortified foods are good food sources of vitamin D, as per the NHS.
One can resort to dietary supplements if they think they're not receiving enough from natural products. However, talking to your physician is recommended at all times.